mtl5.norm#

mtl5.norm(...)#

Overloaded function.

  1. norm(x: ndarray[dtype=float32, shape=(*), order='C', device='cpu', writable=False], ord: int = 2) -> float

  2. norm(x: mtl5._core.DenseVector_f32, ord: int = 2) -> float

  3. norm(x: ndarray[dtype=float64, shape=(*), order='C', device='cpu', writable=False], ord: int = 2) -> float

  4. norm(x: mtl5._core.DenseVector_f64, ord: int = 2) -> float

  5. norm(x: ndarray[dtype=int32, shape=(*), order='C', device='cpu', writable=False], ord: int = 2) -> float

  6. norm(x: mtl5._core.DenseVector_i32, ord: int = 2) -> float

  7. norm(x: ndarray[dtype=int64, shape=(*), order='C', device='cpu', writable=False], ord: int = 2) -> float

  8. norm(x: mtl5._core.DenseVector_i64, ord: int = 2) -> float

  9. norm(x: ndarray[dtype=complex64, shape=(*), order='C', device='cpu', writable=False], ord: int = 2) -> float

  10. norm(x: mtl5._core.DenseVector_c64, ord: int = 2) -> float

Vector norm. 1 = sum|z|, 2 = Euclidean, -1 = max|z|. Always real.

  1. norm(A: mtl5._core.DenseMatrix_c64, ord: int = 2) -> float

Matrix norm. 1 = max column sum, 2 = Frobenius, -1 = max row sum.

  1. norm(x: ndarray[dtype=complex128, shape=(*), order='C', device='cpu', writable=False], ord: int = 2) -> float

  2. norm(x: mtl5._core.DenseVector_c128, ord: int = 2) -> float

Vector norm. 1 = sum|z|, 2 = Euclidean, -1 = max|z|. Always real.

  1. norm(A: mtl5._core.DenseMatrix_c128, ord: int = 2) -> float

Matrix norm. 1 = max column sum, 2 = Frobenius, -1 = max row sum.

  1. norm(x: mtl5._core.DenseVector_fp8, ord: int = 2) -> float

  2. norm(x: mtl5._core.DenseVector_fp16, ord: int = 2) -> float

  3. norm(x: mtl5._core.DenseVector_posit8, ord: int = 2) -> float

  4. norm(x: mtl5._core.DenseVector_posit16, ord: int = 2) -> float

  5. norm(x: mtl5._core.DenseVector_posit32, ord: int = 2) -> float

  6. norm(x: mtl5._core.DenseVector_posit64, ord: int = 2) -> float

  7. norm(x: mtl5._core.DenseVector_fixpnt8, ord: int = 2) -> float

  8. norm(x: mtl5._core.DenseVector_fixpnt16, ord: int = 2) -> float

  9. norm(x: mtl5._core.DenseVector_lns16, ord: int = 2) -> float

  10. norm(x: mtl5._core.DenseVector_lns32, ord: int = 2) -> float

  11. norm(x: mtl5._core.DenseVector_cfloat32, ord: int = 2) -> float

  12. norm(x: mtl5._core.DenseVector_takum32, ord: int = 2) -> float

  13. norm(x: mtl5._core.DenseVector_dd_cascade, ord: int = 2) -> float

  14. norm(x: mtl5._core.DenseVector_td_cascade, ord: int = 2) -> float

  15. norm(x: mtl5._core.DenseVector_qd_cascade, ord: int = 2) -> float