This can be activated by compiling alga with default-features = false. Disabling std will remove the implementation of trigonometric functions, leaving them dependent on extrenal symbols. For example, if the user uses Real::cos(...), an error stating that the alga_cos_f32 or alga_sin_f32 is undefined will be triggered at link-time. To fix this, the user will have to add their own definition of the cos function to their binary:
This can be activated by compiling alga with
default-features = false
. Disabling std will remove the implementation of trigonometric functions, leaving them dependent on extrenal symbols. For example, if the user usesReal::cos(...)
, an error stating that thealga_cos_f32
oralga_sin_f32
is undefined will be triggered at link-time. To fix this, the user will have to add their own definition of thecos
function to their binary: