multiply_bayes: Scalar multiplication in Bayes space

Description Usage Arguments Value Examples

Description

Scalar multiplication in Bayes space

Usage

1
multiply_bayes(tensor, alpha, tensor_ref, do_projection = FALSE)

Arguments

tensor

A 3x3 symmetric matrix.

alpha

A scalar.

tensor_ref

The SDP tensor associated to the reference measure of the Bayes space.

do_projection

A boolean specifying whether the result of the operation should be projected onto the space of diffusion signals (default not to).

Value

A 3x3 symmetric matrix.

Examples

1
2
D <- diag(c(1.7, 0.3, 0.1)) * 1e-3
multiply_bayes(D, 2)

astamm/bayesr documentation built on May 10, 2019, 2:05 p.m.