Documentation
¶
Index ¶
- func Acos(x float64) float64
- func AddBatch(a, b []float64) []float64
- func AddBatchF32(a, b []float32) []float32
- func Asin(x float64) float64
- func Atan(x float64) float64
- func Cos(x float64) float64
- func CosBatch(x []float64) []float64
- func CosBatchF32(x []float32) []float32
- func Cosh(x float64) float64
- func CoshBatch(x []float64) []float64
- func DivBatch(a, b []float64) []float64
- func Exp(x float64) float64
- func ExpBatch(x []float64) []float64
- func ExpBatchF32(x []float32) []float32
- func FMA(x, y, z float64) float64
- func IsEML() bool
- func IsFloat64Excluded() bool
- func IsForceStandard() bool
- func Log(x float64) float64
- func LogBatch(x []float64) []float64
- func MulBatch(a, b []float64) []float64
- func MulBatchF32(a, b []float32) []float32
- func NegBatch(x []float64) []float64
- func Pow(x, y float64) float64
- func PowBatch(x []float64, y float64) []float64
- func PushStandard() (restore func())
- func SetBackend(b Backend)
- func SetFloat64Excluded(excluded bool)
- func Sin(x float64) float64
- func SinBatch(x []float64) []float64
- func SinBatchF32(x []float32) []float32
- func Sinh(x float64) float64
- func SinhBatch(x []float64) []float64
- func Sqrt(x float64) float64
- func SqrtBatch(x []float64) []float64
- func SubBatch(a, b []float64) []float64
- func Tan(x float64) float64
- func TanBatch(x []float64) []float64
- func Tanh(x float64) float64
- func TanhBatch(x []float64) []float64
- type Backend
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBatchF32 ¶
func CosBatchF32 ¶
func ExpBatchF32 ¶
func IsEML ¶
func IsEML() bool
IsEML returns true if the EMLGo backend is active. Without the "emlgo" build tag, this always returns false.
func IsFloat64Excluded ¶
func IsFloat64Excluded() bool
func IsForceStandard ¶
func IsForceStandard() bool
IsForceStandard is always false without the emlgo build tag.
func MulBatchF32 ¶
func PushStandard ¶
func PushStandard() (restore func())
PushStandard is a no-op without the emlgo build tag (backend is always standard).
func SetBackend ¶
func SetBackend(b Backend)
SetBackend changes the active math backend globally. Without the "emlgo" build tag, switching to BackendEML is a no-op.
func SetFloat64Excluded ¶
func SetFloat64Excluded(excluded bool)
Part 7: float64 exclusion stub — no-op without emlgo build tag