1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2014 Michael Yang. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.

//! Various attributes of vectors and matrices.

#[repr(C)]
#[derive(Copy, Clone)]
pub enum Order {
    RowMajor = 101,
    ColMajor = 102,
}

#[repr(C)]
#[derive(Copy, Clone)]
pub enum Transpose {
    NoTrans = 111,
    Trans = 112,
    ConjTrans = 113,
}

#[repr(C)]
#[derive(Copy, Clone)]
pub enum Symmetry {
    Upper = 121,
    Lower = 122,
}

#[repr(C)]
#[derive(Copy, Clone)]
pub enum Diagonal {
    NonUnit = 131,
    Unit = 132,
}

#[repr(C)]
#[derive(Copy, Clone)]
pub enum Side {
    Left = 141,
    Right = 142,
}