LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

TRMV

TRMV[ul,ts,dg,a,b]

computes the triangular matrix-vector multiplication opts[a].b and resets b to the result.

Details

  • To use TRMV, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
  • The following arguments must be given:
  • ul
  • input string
  • upper/lower triangular string
  • ts
  • input string
  • transposition string
  • dg
  • input string
  • diagonal ones string
    ainput expressionrectangular matrix
    binput/output symbolvector; the symbol value is modified in place
  • The upper/lower triangular string ul may be specified as:
  • "U"the upper triangular part of a is to be used
    "L"the lower triangular part of a is to be used
  • The transposition string ts describes the operator opts and may be specified as:
  • "N"no transposition
    "T"transpose
    "C"conjugate transpose
  • The diagonal ones string dg may be specified as:
  • "U"the main diagonal of a is assumed to contain only ones
    "N"the actual values of the main diagonal of a are used
  • Dimensions of the matrix and vector arguments must be such that the dot product is well defined.

Examples

open all close all

Basic Examples  (1)

Load the BLAS package:

In[1]:=
Click for copyable input

Compute UpperTriangularize[a].b and save it in b:

In[2]:=
Click for copyable input
Out[2]=

Scope  (4)

Properties & Relations  (4)

Possible Issues  (2)