You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/Manuals/lla.md
+70-2Lines changed: 70 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ description: >
12
12
LLA works with matrices, that is arrays of rank 2, with all numerical values. Categorical variables could be integer coded if you need to.
13
13
14
14
15
-
## Basic Usage
15
+
## Setup
16
16
17
17
`lla` requires a BLAS and LAPACK shared library. These may be available via
18
18
your operating systems package manager, or you can download [OpenBLAS](https://github.com/xianyi/OpenBLAS), which includes precompiled binaries for MS Windows.
@@ -39,7 +39,7 @@ To load `lla`:
39
39
(use-package 'lla) ;access to the symbols
40
40
```
41
41
42
-
##Examples
42
+
### Getting Started
43
43
44
44
To make working with matrices easier, we're going to use the matrix-shorthand library. Load it like so:
45
45
@@ -62,3 +62,71 @@ To make working with matrices easier, we're going to use the matrix-shorthand li
62
62
63
63
; #(5.0d0 11.0d0 17.0d0)
64
64
```
65
+
66
+
## Basics
67
+
68
+
### norm
69
+
70
+
**`norm`** returns a matrix or vector norm. This function is able to return one of eight different matrix norms, or one of an infinite number of vector norms (described below), depending on the value of the `ord` parameter. `ord` may be one of: `integer`, `:frob`, `:inf``:-inf`. `ord` must be >= 0.
71
+
72
+
Note that norm is not, by default, part of the LS-USER package.
0 commit comments