Table of Contents

Mojo struct

JacobiSVD

@memory_only
struct JacobiSVD

Fields

  • compute_v (Bool)
  • u (Mat)
  • v (Mat)
  • sing_vals (Vec)
  • status (ComputationInfo)

Implemented traits

AnyType, Deinitable, Movable

Methods

__init__

fn def __init__(out self, compute_v: Bool)

Args:

  • compute_v (Bool)
  • self (Self)

Returns:

Self

compute

fn def compute(mut self, m: Mat, thinU: Bool = False, thinV: Bool = False)

Args:

  • self (Self)
  • m (Mat)
  • thinU (Bool)
  • thinV (Bool)

info

fn def info(self) -> ComputationInfo

Args:

  • self (Self)

Returns:

ComputationInfo

matrixU

fn def matrixU(self) -> Mat

Args:

  • self (Self)

Returns:

Mat

matrixV

fn def matrixV(self) -> Mat

Args:

  • self (Self)

Returns:

Mat

singularValues

fn def singularValues(self) -> Vec

Args:

  • self (Self)

Returns:

Vec