MCPcopy Create free account
hub / github.com/SingleRust/SingleRust / log1p_expression

Function log1p_expression

src/memory/processing/transformation/mod.rs:28–35  ·  view source on GitHub ↗
(
    matrix: &IMArrayElement,
    precision: Option<Precision>,
)

Source from the content-addressed store, hash-verified

26}
27
28pub fn log1p_expression(
29 matrix: &IMArrayElement,
30 precision: Option<Precision>,
31) -> anyhow::Result<()> {
32 let precision = precision.unwrap_or_default();
33 crate::memory::utils::convert_to_float_if_non_float_type(matrix, Some(precision))?;
34 log1p(matrix)
35}
36
37fn log1p(matrix: &IMArrayElement) -> anyhow::Result<()> {
38 let mut write_guard = matrix.0.write_inner();

Callers

nothing calls this directly

Calls 2

log1pFunction · 0.85

Tested by

no test coverage detected