The sb-cga Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The sb-cga Reference Manual

This is the sb-cga Reference Manual, version 1.0.1, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 04:33:11 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

SB-CGA

SB-CGA is a computer graphics algebra library for Common Lisp.

Despite the prefix it is actually portable - but optimizations that make it fast (using SIMD instructions) are currently implemented for SBCL/x86-64 only.

There is no fundamental reason why these could not be implemented for other implementations as well, though.

SB-CGA is not under active development currently, but neither is it quite abandoned. Patches will get looked at, though you may need to kick Nikodemus once or twice to get his attention.

There's a manual: http://nikodemus.github.io/sb-cga/

There's a TODO in TODO.org.

There's a pending re-implementation of the root solvers in new-roots.lisp.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 sb-cga

Author

Nikodemus Siivola <nikdoemus@random-state.net>

License

MIT

Description

Computer graphic algebra for SBCL.

Version

1.0.1

Dependency

alexandria

Source

sb-cga.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 sb-cga/ports

Dependency

fndb.lisp (file)

Parent

sb-cga (system)

Location

ports/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 sb-cga.asd

Location

sb-cga.asd

Systems

sb-cga (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 sb-cga/package.lisp

Parent

sb-cga (system)

Location

package.lisp

Packages

sb-cga


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 sb-cga/types.lisp

Dependency

package.lisp (file)

Parent

sb-cga (system)

Location

types.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 sb-cga/fndb.lisp

Dependency

types.lisp (file)

Parent

sb-cga (system)

Location

fndb.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 sb-cga/ports/sbcl.lisp

If Feature

sbcl

Parent

ports (module)

Location

ports/sbcl.lisp

Exported Definitions

cbrt (function)

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 sb-cga/ports/ccl.lisp

If Feature

ccl

Parent

ports (module)

Location

ports/ccl.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 sb-cga/ports/abcl.lisp

If Feature

abcl

Parent

ports (module)

Location

ports/abcl.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 sb-cga/ports/acl.lisp

If Feature

allegro

Parent

ports (module)

Location

ports/acl.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.9 sb-cga/ports/ecl.lisp

If Feature

ecl

Parent

ports (module)

Location

ports/ecl.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.10 sb-cga/ports/ansi.lisp

If Feature

(not (or sbcl ccl abcl allegro ecl))

Parent

ports (module)

Location

ports/ansi.lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.11 sb-cga/vm.lisp

Dependency

ports (module)

Parent

sb-cga (system)

Location

vm.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.12 sb-cga/vec.lisp

Dependency

vm.lisp (file)

Parent

sb-cga (system)

Location

vec.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.13 sb-cga/matrix.lisp

Dependency

vec.lisp (file)

Parent

sb-cga (system)

Location

matrix.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.14 sb-cga/roots.lisp

Dependency

matrix.lisp (file)

Parent

sb-cga (system)

Location

roots.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

5.1 sb-cga

Computer graphics algebra package for SBCL.

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Constants

Constant: +default-epsilon+

Used as a liminal value to work around floating point inaccuracy.

Package

sb-cga

Source

types.lisp (file)

Constant: +identity-matrix+

Constant identity matrix.

Package

sb-cga

Source

matrix.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Compiler macros

Compiler Macro: adjust-vec POINT DIRECTION DISTANCE
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: copy-vec VEC
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: hadamard-product A B
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: normalize A
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: transform-direction VEC MATRIX
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: transform-point VEC MATRIX
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: vec* A F
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: vec+ A B
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: vec- A B
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: vec-lerp A B F
Package

sb-cga

Source

vec.lisp (file)

Compiler Macro: vec/ A F
Package

sb-cga

Source

vec.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: %adjust-vec RESULT POINT DIRECTION DISTANCE

Multiply VEC DIRECTION by single-float DISTANCE adding the result to VEC POINT. Store result in RESULT, and return it.

Package

sb-cga

Source

vm.lisp (file)

Function: %copy-vec RESULT VEC

Copy contents of VEC into RESULT, return RESULT. Unsafe.

Package

sb-cga

Source

vm.lisp (file)

Function: %cross-product RESULT A B
Package

sb-cga

Source

vec.lisp (file)

Function: %hadamard-product RESULT A B

Compute hadamard product (elementwise product) of VEC A and VEC B, store result in VEC RESULT. Return RESULT. Unsafe.

Package

sb-cga

Source

vm.lisp (file)

Function: %normalize RESULT A

Normalize VEC A, store result into VEC RESULT. Return RESULT. Unsafe.

Package

sb-cga

Source

vm.lisp (file)

Function: %transform-direction RESULT VEC MATRIX

Apply transformation MATRIX to VEC, store result in RESULT. Return RESULT. Unsafe.

Package

sb-cga

Source

vm.lisp (file)

Function: %transform-point RESULT VEC MATRIX

Apply transformation MATRIX to VEC, store result in RESULT. Return RESULT. Unsafe.

Package

sb-cga

Source

vm.lisp (file)

Function: %vec* RESULT A F

Multiply VEC A with single-float F, store result in VEC RESULT. Return RESULT. Unsafe.

Package

sb-cga

Source

vm.lisp (file)

Function: %vec+ RESULT A B

Add VEC A and B, store result in VEC RESULT. Return RESULT. Unsafe

Package

sb-cga

Source

vm.lisp (file)

Function: %vec- RESULT A B

Substract VEC B from VEC A, store result in VEC RESULT. Return RESULT. Unsafe.

Package

sb-cga

Source

vm.lisp (file)

Function: %vec-lerp RESULT A B F

Linear interpolate VEC A and VEC B using single-float F as the interpolation factor, store result in VEC RESULT. Return RESULT. Unsafe.

Package

sb-cga

Source

vm.lisp (file)

Function: %vec-max RESULT A B

Elementwise maximum of VEC A and VEC B, store result in VEC RESULT.

Package

sb-cga

Source

vec.lisp (file)

Function: %vec-min RESULT A B

Elementwise minimum of VEC A and VEC B, store result in VEC RESULT.

Package

sb-cga

Source

vec.lisp (file)

Function: %vec/ RESULT A F

Divide VEC A by single-float F, store result in VEC RESULT. Return RESULT. Unsafe.

Package

sb-cga

Source

vm.lisp (file)

Function: adjust-vec POINT DIRECTION DISTANCE

Multiply VEC DIRECTION by single-float DISTANCE adding the result to VEC POINT. Return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: alloc-vec ()

Allocate a zero-initialized VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: cbrt FLOAT

Cube root of FLOAT.

Package

sb-cga

Source

sbcl.lisp (file)

Function: copy-vec VEC

Allocate a fresh copy of VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: cross-product A B

Cross product of 3D vector A and 3D vector B, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: cubic-roots A B C D

Real-valued roots for Ax^2+Bx+C. Smallest real root is returned as primary value, and the others as the successive values. NaN indicates lack of a real-valued root.

Package

sb-cga

Source

roots.lisp (file)

Function: cubic-roots-above LIMIT A B C D

Real-valued roots greater than LIMIT for Ax^3+Bx^2+Cx+D. Smallest positive root is returned as primary value, and others in increasing order. LIMIT indicates lack of a real-valued root above LIMIT.

Package

sb-cga

Source

roots.lisp (file)

Function: dot-product A B

Compute dot product VEC A and VEC B.

Package

sb-cga

Source

vec.lisp (file)

Function: hadamard-product A B

Compute hadamard product (elementwise product) of VEC A and VEC B, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: identity-matrix ()

Construct an identity matrix.

Package

sb-cga

Source

matrix.lisp (file)

Function: inverse-matrix MATRIX

Inverse of MATRIX. Signals an error if there is no inverse.

Package

sb-cga

Source

matrix.lisp (file)

Function: matrix M11 M12 M13 M14 M21 M22 M23 M24 M31 M32 M33 M34 M41 M42 M43 M44

Construct MATRIX with the given elements (arguments are provided in row major order.)

Package

sb-cga

Source

matrix.lisp (file)

Function: matrix* &rest MATRICES

Multiply MATRICES. The result might not be freshly allocated if all, or all but one multiplicant is an identity matrix.

Package

sb-cga

Source

matrix.lisp (file)

Function: matrix-determinant MATRIX

Determinant of MATRIX.

Package

sb-cga

Source

matrix.lisp (file)

Function: matrix= M1 M2

Return true if MATRIX M1 is elementwise equal to MATRIX M1.

Package

sb-cga

Source

matrix.lisp (file)

Function: matrixp OBJECT

Return true of OBJECT is a matrix.

Package

sb-cga

Source

matrix.lisp (file)

Function: matrix~ M1 M2 &optional EPSILON

Return true if MATRIX M1 and MATRIX M2 are elementwise within EPSILON of each other. EPSILON defaults to +DEFAULT-EPSILON+

Package

sb-cga

Source

matrix.lisp (file)

Function: mref MATRIX ROW COLUMN

Accessor for value in the specificed ROW and COLUMN in MATRIX.

Package

sb-cga

Source

matrix.lisp (file)

Writer

(setf mref) (function)

Function: (setf mref) VALUE MATRIX ROW COLUMN
Package

sb-cga

Source

matrix.lisp (file)

Reader

mref (function)

Function: normalize A

Normalize VEC A, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: quadratic-roots A B C

Real-valued roots for Ax^2+Bx+C. Smallest real root is returned as primary value, and the other as the secondary. In case of a double root both the primary and secondary values are the same. NaN indicates lack of a real-valued root.

Package

sb-cga

Source

roots.lisp (file)

Function: quadratic-roots-above LIMIT A B C

Real-valued roots greater than LIMIT for Ax^2+Bx+C. Smallest positive root is returned as primary value, and the other as secondary. LIMIT indicates lack of a real-valued root above LIMIT.

Package

sb-cga

Source

roots.lisp (file)

Function: reorient V1 V2

Construct a transformation matrix to reorient V1 with V2.

Package

sb-cga

Source

matrix.lisp (file)

Function: rotate VEC

Construct a rotation matrix using first three elements of VEC as the rotation factors.

Package

sb-cga

Source

matrix.lisp (file)

Function: rotate* X Y Z

Construct a rotation matrix from rotation factors X, Y, Z.

Package

sb-cga

Source

matrix.lisp (file)

Function: rotate-around V RADIANS

Construct a rotation matrix that rotates by RADIANS around VEC V. 4th element of V is ignored.

Package

sb-cga

Source

matrix.lisp (file)

Function: scale VEC

Construct a scaling matrix using first threee elements of VEC as the scaling factors.

Package

sb-cga

Source

matrix.lisp (file)

Function: scale* X Y Z

Construct a scaling matrix from scaling factors X, Y, and Z.

Package

sb-cga

Source

matrix.lisp (file)

Function: sxhash-vec VEC
Package

sb-cga

Source

vec.lisp (file)

Function: transform-bounds V1 V2 MATRIX

Transform the axis-aligned bounding box specified by its extreme corners V1 and V2 using MATRIX. Return new extreme corners (minimum and maximum coordinates) as freshly allocted VECs, as the primary and secondary value.

Package

sb-cga

Source

vec.lisp (file)

Function: transform-direction VEC MATRIX

Apply transformation MATRIX to VEC ignoring the translation component, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: transform-point VEC MATRIX

Apply transformation MATRIX to VEC, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: translate VEC

Construct a translation matrix using first three elements of VEC as the translation factors.

Package

sb-cga

Source

matrix.lisp (file)

Function: translate* X Y Z

Construct a translation matrix from translation factors X, Y and Z.

Package

sb-cga

Source

matrix.lisp (file)

Function: transpose-matrix MATRIX

Transpose of MATRIX.

Package

sb-cga

Source

matrix.lisp (file)

Function: vec X Y Z

Allocate a 3d vector [X, Y, Z].

Package

sb-cga

Source

vec.lisp (file)

Function: vec* A F

Multiply VEC A with single-float F, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: vec+ A B

Add VEC A and VEC B, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: vec- A B

Substract VEC B from VEC A, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: vec-length A

Length of VEC A.

Package

sb-cga

Source

vec.lisp (file)

Function: vec-lerp A B F

Linear interpolate VEC A and VEC B using single-float F as the interpolation factor, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: vec-max VEC &rest VECS

Elementwise maximum of VEC and VECS, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: vec-min VEC &rest VECS

Elementwise minimum of VEC and VECS, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: vec/ A F

Divide VEC A by single-float F, return result as a freshly allocated VEC.

Package

sb-cga

Source

vec.lisp (file)

Function: vec= A B

Return true if VEC A and VEC B are elementwise identical.

Package

sb-cga

Source

vec.lisp (file)

Function: vec~ A B &optional EPSILON

Return true if VEC A and VEC B are elementwise within EPSILON of each other. EPSILON defaults to +DEFAULT-EPSILON+.

Package

sb-cga

Source

vec.lisp (file)

Function: zero-matrix ()

Construct a zero matrix.

Package

sb-cga

Source

matrix.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Types

Type: matrix ()

4x4 matrix of single floats, represented as a one-dimensional vector stored in column-major order.

Package

sb-cga

Source

types.lisp (file)

Type: vec ()

A 3d vector of single floats.

Package

sb-cga

Source

types.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Constants

Constant: +eqn-eps+
Package

sb-cga

Source

roots.lisp (file)

Constant: +pi+

Single-float PI.

Package

sb-cga

Source

types.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Special variables

Special Variable: *alloc-funs*
Package

sb-cga

Source

vm.lisp (file)

Special Variable: *optimizable-funs*
Package

sb-cga

Source

vm.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Macros

Macro: define-alloc-fun NAME LAMBDA-LIST &body BODY
Package

sb-cga

Source

vec.lisp (file)

Macro: define-opt-fun NAME LAMBDA-LIST DOC &key NO-COMPILER-MACRO
Package

sb-cga

Source

vec.lisp (file)

Macro: define-opt-fun2 NAME LAMBDA-LIST DOC
Package

sb-cga

Source

vec.lisp (file)

Macro: define-vm-fun NAME LAMBDA-LIST &body GENERIC-BODY
Package

sb-cga

Source

vm.lisp (file)

Macro: ea-for-data VECTOR INDEX
Package

sb-cga

Source

sbcl.lisp (file)

Macro: ea-for-slice VECTOR &optional INDEX
Package

sb-cga

Source

sbcl.lisp (file)

Macro: fill-xmm TARGET SOURCE &optional INDEX
Package

sb-cga

Source

sbcl.lisp (file)

Macro: load-slice XMM VECTOR &optional INDEX
Package

sb-cga

Source

sbcl.lisp (file)

Macro: store-slice XMM VECTOR &optional INDEX
Package

sb-cga

Source

sbcl.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.4 Compiler macros

Compiler Macro: ~ A B &optional EPSILON
Package

sb-cga

Source

types.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.5 Functions

Function: %%adjust-vec/1 POINT DIRECTION DISTANCE
Package

sb-cga

Source

vm.lisp (file)

Function: %%adjust-vec/2 POINT DIRECTION DISTANCE
Package

sb-cga

Source

vm.lisp (file)

Function: %%copy-vec/1 VEC
Package

sb-cga

Source

vec.lisp (file)

Function: %%hadamard-product/1 A B
Package

sb-cga

Source

vm.lisp (file)

Function: %%hadamard-product/2 A B
Package

sb-cga

Source

vm.lisp (file)

Function: %%normalize/1 A
Package

sb-cga

Source

vm.lisp (file)

Function: %%normalized-vec RESULT X Y Z
Package

sb-cga

Source

vm.lisp (file)

Function: %%transform-direction/1 VEC MATRIX
Package

sb-cga

Source

vm.lisp (file)

Function: %%transform-point/1 VEC MATRIX
Package

sb-cga

Source

vm.lisp (file)

Function: %%vec*/1 A F
Package

sb-cga

Source

vm.lisp (file)

Function: %%vec+/1 A B
Package

sb-cga

Source

vm.lisp (file)

Function: %%vec+/2 A B
Package

sb-cga

Source

vm.lisp (file)

Function: %%vec-/1 A B
Package

sb-cga

Source

vm.lisp (file)

Function: %%vec-/2 A B
Package

sb-cga

Source

vm.lisp (file)

Function: %%vec-lerp/1 A B F
Package

sb-cga

Source

vm.lisp (file)

Function: %%vec-lerp/2 A B F
Package

sb-cga

Source

vm.lisp (file)

Function: %%vec//1 A F
Package

sb-cga

Source

vm.lisp (file)

Function: %cubic-roots/normal A B C REPLACEMENT
Package

sb-cga

Source

roots.lisp (file)

Function: %dot-product A B
Package

sb-cga

Source

vm.lisp (file)

Function: %normalized-cross-product RESULT A B
Package

sb-cga

Source

vec.lisp (file)

Function: %vec-length A
Package

sb-cga

Source

vm.lisp (file)

Function: %vec= A B
Package

sb-cga

Source

vm.lisp (file)

Function: cbrt/double DOUBLE
Package

sb-cga

Source

sbcl.lisp (file)

Function: cbrt/single FLOAT
Package

sb-cga

Source

sbcl.lisp (file)

Function: double-float-quiet-nan ()
Package

sb-cga

Source

sbcl.lisp (file)

Function: float-nan-p X
Package

sb-cga

Source

sbcl.lisp (file)

Function: generic-inverse-matrix MATRIX
Package

sb-cga

Source

matrix.lisp (file)

Function: is-zero X
Package

sb-cga

Source

roots.lisp (file)

Function: note-optimizable-fun NAME NAME/1 &optional NAME/2
Package

sb-cga

Source

vm.lisp (file)

Function: optimize-vec-allocation FORM
Package

sb-cga

Source

vm.lisp (file)

Function: pprint-matrix STREAM MATRIX
Package

sb-cga

Source

matrix.lisp (file)

Function: single-float-quiet-nan ()
Package

sb-cga

Source

sbcl.lisp (file)

Function: submatrix-determinant MATRIX

Determinant of the upper left 3x3 submatrix of MATRIX.

Package

sb-cga

Source

matrix.lisp (file)

Function: ~ A B &optional EPSILON

Return true if A and B are within EPSILON of each other. EPSILON defaults to +DEFAULT-EPSILON+.

Package

sb-cga

Source

types.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.6 Types

Type: sfunction ARGS &optional RESULT
Package

sb-cga

Source

types.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   M   S  
Index Entry  Section

F
File, Lisp, sb-cga.asd: The sb-cga<dot>asd file
File, Lisp, sb-cga/fndb.lisp: The sb-cga/fndb<dot>lisp file
File, Lisp, sb-cga/matrix.lisp: The sb-cga/matrix<dot>lisp file
File, Lisp, sb-cga/package.lisp: The sb-cga/package<dot>lisp file
File, Lisp, sb-cga/ports/abcl.lisp: The sb-cga/ports/abcl<dot>lisp file
File, Lisp, sb-cga/ports/acl.lisp: The sb-cga/ports/acl<dot>lisp file
File, Lisp, sb-cga/ports/ansi.lisp: The sb-cga/ports/ansi<dot>lisp file
File, Lisp, sb-cga/ports/ccl.lisp: The sb-cga/ports/ccl<dot>lisp file
File, Lisp, sb-cga/ports/ecl.lisp: The sb-cga/ports/ecl<dot>lisp file
File, Lisp, sb-cga/ports/sbcl.lisp: The sb-cga/ports/sbcl<dot>lisp file
File, Lisp, sb-cga/roots.lisp: The sb-cga/roots<dot>lisp file
File, Lisp, sb-cga/types.lisp: The sb-cga/types<dot>lisp file
File, Lisp, sb-cga/vec.lisp: The sb-cga/vec<dot>lisp file
File, Lisp, sb-cga/vm.lisp: The sb-cga/vm<dot>lisp file

L
Lisp File, sb-cga.asd: The sb-cga<dot>asd file
Lisp File, sb-cga/fndb.lisp: The sb-cga/fndb<dot>lisp file
Lisp File, sb-cga/matrix.lisp: The sb-cga/matrix<dot>lisp file
Lisp File, sb-cga/package.lisp: The sb-cga/package<dot>lisp file
Lisp File, sb-cga/ports/abcl.lisp: The sb-cga/ports/abcl<dot>lisp file
Lisp File, sb-cga/ports/acl.lisp: The sb-cga/ports/acl<dot>lisp file
Lisp File, sb-cga/ports/ansi.lisp: The sb-cga/ports/ansi<dot>lisp file
Lisp File, sb-cga/ports/ccl.lisp: The sb-cga/ports/ccl<dot>lisp file
Lisp File, sb-cga/ports/ecl.lisp: The sb-cga/ports/ecl<dot>lisp file
Lisp File, sb-cga/ports/sbcl.lisp: The sb-cga/ports/sbcl<dot>lisp file
Lisp File, sb-cga/roots.lisp: The sb-cga/roots<dot>lisp file
Lisp File, sb-cga/types.lisp: The sb-cga/types<dot>lisp file
Lisp File, sb-cga/vec.lisp: The sb-cga/vec<dot>lisp file
Lisp File, sb-cga/vm.lisp: The sb-cga/vm<dot>lisp file

M
Module, sb-cga/ports: The sb-cga/ports module

S
sb-cga.asd: The sb-cga<dot>asd file
sb-cga/fndb.lisp: The sb-cga/fndb<dot>lisp file
sb-cga/matrix.lisp: The sb-cga/matrix<dot>lisp file
sb-cga/package.lisp: The sb-cga/package<dot>lisp file
sb-cga/ports: The sb-cga/ports module
sb-cga/ports/abcl.lisp: The sb-cga/ports/abcl<dot>lisp file
sb-cga/ports/acl.lisp: The sb-cga/ports/acl<dot>lisp file
sb-cga/ports/ansi.lisp: The sb-cga/ports/ansi<dot>lisp file
sb-cga/ports/ccl.lisp: The sb-cga/ports/ccl<dot>lisp file
sb-cga/ports/ecl.lisp: The sb-cga/ports/ecl<dot>lisp file
sb-cga/ports/sbcl.lisp: The sb-cga/ports/sbcl<dot>lisp file
sb-cga/roots.lisp: The sb-cga/roots<dot>lisp file
sb-cga/types.lisp: The sb-cga/types<dot>lisp file
sb-cga/vec.lisp: The sb-cga/vec<dot>lisp file
sb-cga/vm.lisp: The sb-cga/vm<dot>lisp file

Jump to:   F   L   M   S  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   %   (   ~  
A   C   D   E   F   G   H   I   L   M   N   O   P   Q   R   S   T   V   Z  
Index Entry  Section

%
%%adjust-vec/1: Internal functions
%%adjust-vec/2: Internal functions
%%copy-vec/1: Internal functions
%%hadamard-product/1: Internal functions
%%hadamard-product/2: Internal functions
%%normalize/1: Internal functions
%%normalized-vec: Internal functions
%%transform-direction/1: Internal functions
%%transform-point/1: Internal functions
%%vec*/1: Internal functions
%%vec+/1: Internal functions
%%vec+/2: Internal functions
%%vec-/1: Internal functions
%%vec-/2: Internal functions
%%vec-lerp/1: Internal functions
%%vec-lerp/2: Internal functions
%%vec//1: Internal functions
%adjust-vec: Exported functions
%copy-vec: Exported functions
%cross-product: Exported functions
%cubic-roots/normal: Internal functions
%dot-product: Internal functions
%hadamard-product: Exported functions
%normalize: Exported functions
%normalized-cross-product: Internal functions
%transform-direction: Exported functions
%transform-point: Exported functions
%vec*: Exported functions
%vec+: Exported functions
%vec-: Exported functions
%vec-length: Internal functions
%vec-lerp: Exported functions
%vec-max: Exported functions
%vec-min: Exported functions
%vec/: Exported functions
%vec=: Internal functions

(
(setf mref): Exported functions

~
~: Internal compiler macros
~: Internal functions

A
adjust-vec: Exported compiler macros
adjust-vec: Exported functions
alloc-vec: Exported functions

C
cbrt: Exported functions
cbrt/double: Internal functions
cbrt/single: Internal functions
Compiler Macro, adjust-vec: Exported compiler macros
Compiler Macro, copy-vec: Exported compiler macros
Compiler Macro, hadamard-product: Exported compiler macros
Compiler Macro, normalize: Exported compiler macros
Compiler Macro, transform-direction: Exported compiler macros
Compiler Macro, transform-point: Exported compiler macros
Compiler Macro, vec*: Exported compiler macros
Compiler Macro, vec+: Exported compiler macros
Compiler Macro, vec-: Exported compiler macros
Compiler Macro, vec-lerp: Exported compiler macros
Compiler Macro, vec/: Exported compiler macros
Compiler Macro, ~: Internal compiler macros
copy-vec: Exported compiler macros
copy-vec: Exported functions
cross-product: Exported functions
cubic-roots: Exported functions
cubic-roots-above: Exported functions

D
define-alloc-fun: Internal macros
define-opt-fun: Internal macros
define-opt-fun2: Internal macros
define-vm-fun: Internal macros
dot-product: Exported functions
double-float-quiet-nan: Internal functions

E
ea-for-data: Internal macros
ea-for-slice: Internal macros

F
fill-xmm: Internal macros
float-nan-p: Internal functions
Function, %%adjust-vec/1: Internal functions
Function, %%adjust-vec/2: Internal functions
Function, %%copy-vec/1: Internal functions
Function, %%hadamard-product/1: Internal functions
Function, %%hadamard-product/2: Internal functions
Function, %%normalize/1: Internal functions
Function, %%normalized-vec: Internal functions
Function, %%transform-direction/1: Internal functions
Function, %%transform-point/1: Internal functions
Function, %%vec*/1: Internal functions
Function, %%vec+/1: Internal functions
Function, %%vec+/2: Internal functions
Function, %%vec-/1: Internal functions
Function, %%vec-/2: Internal functions
Function, %%vec-lerp/1: Internal functions
Function, %%vec-lerp/2: Internal functions
Function, %%vec//1: Internal functions
Function, %adjust-vec: Exported functions
Function, %copy-vec: Exported functions
Function, %cross-product: Exported functions
Function, %cubic-roots/normal: Internal functions
Function, %dot-product: Internal functions
Function, %hadamard-product: Exported functions
Function, %normalize: Exported functions
Function, %normalized-cross-product: Internal functions
Function, %transform-direction: Exported functions
Function, %transform-point: Exported functions
Function, %vec*: Exported functions
Function, %vec+: Exported functions
Function, %vec-: Exported functions
Function, %vec-length: Internal functions
Function, %vec-lerp: Exported functions
Function, %vec-max: Exported functions
Function, %vec-min: Exported functions
Function, %vec/: Exported functions
Function, %vec=: Internal functions
Function, (setf mref): Exported functions
Function, adjust-vec: Exported functions
Function, alloc-vec: Exported functions
Function, cbrt: Exported functions
Function, cbrt/double: Internal functions
Function, cbrt/single: Internal functions
Function, copy-vec: Exported functions
Function, cross-product: Exported functions
Function, cubic-roots: Exported functions
Function, cubic-roots-above: Exported functions
Function, dot-product: Exported functions
Function, double-float-quiet-nan: Internal functions
Function, float-nan-p: Internal functions
Function, generic-inverse-matrix: Internal functions
Function, hadamard-product: Exported functions
Function, identity-matrix: Exported functions
Function, inverse-matrix: Exported functions
Function, is-zero: Internal functions
Function, matrix: Exported functions
Function, matrix*: Exported functions
Function, matrix-determinant: Exported functions
Function, matrix=: Exported functions
Function, matrixp: Exported functions
Function, matrix~: Exported functions
Function, mref: Exported functions
Function, normalize: Exported functions
Function, note-optimizable-fun: Internal functions
Function, optimize-vec-allocation: Internal functions
Function, pprint-matrix: Internal functions
Function, quadratic-roots: Exported functions
Function, quadratic-roots-above: Exported functions
Function, reorient: Exported functions
Function, rotate: Exported functions
Function, rotate*: Exported functions
Function, rotate-around: Exported functions
Function, scale: Exported functions
Function, scale*: Exported functions
Function, single-float-quiet-nan: Internal functions
Function, submatrix-determinant: Internal functions
Function, sxhash-vec: Exported functions
Function, transform-bounds: Exported functions
Function, transform-direction: Exported functions
Function, transform-point: Exported functions
Function, translate: Exported functions
Function, translate*: Exported functions
Function, transpose-matrix: Exported functions
Function, vec: Exported functions
Function, vec*: Exported functions
Function, vec+: Exported functions
Function, vec-: Exported functions
Function, vec-length: Exported functions
Function, vec-lerp: Exported functions
Function, vec-max: Exported functions
Function, vec-min: Exported functions
Function, vec/: Exported functions
Function, vec=: Exported functions
Function, vec~: Exported functions
Function, zero-matrix: Exported functions
Function, ~: Internal functions

G
generic-inverse-matrix: Internal functions

H
hadamard-product: Exported compiler macros
hadamard-product: Exported functions

I
identity-matrix: Exported functions
inverse-matrix: Exported functions
is-zero: Internal functions

L
load-slice: Internal macros

M
Macro, define-alloc-fun: Internal macros
Macro, define-opt-fun: Internal macros
Macro, define-opt-fun2: Internal macros
Macro, define-vm-fun: Internal macros
Macro, ea-for-data: Internal macros
Macro, ea-for-slice: Internal macros
Macro, fill-xmm: Internal macros
Macro, load-slice: Internal macros
Macro, store-slice: Internal macros
matrix: Exported functions
matrix*: Exported functions
matrix-determinant: Exported functions
matrix=: Exported functions
matrixp: Exported functions
matrix~: Exported functions
mref: Exported functions

N
normalize: Exported compiler macros
normalize: Exported functions
note-optimizable-fun: Internal functions

O
optimize-vec-allocation: Internal functions

P
pprint-matrix: Internal functions

Q
quadratic-roots: Exported functions
quadratic-roots-above: Exported functions

R
reorient: Exported functions
rotate: Exported functions
rotate*: Exported functions
rotate-around: Exported functions

S
scale: Exported functions
scale*: Exported functions
single-float-quiet-nan: Internal functions
store-slice: Internal macros
submatrix-determinant: Internal functions
sxhash-vec: Exported functions

T
transform-bounds: Exported functions
transform-direction: Exported compiler macros
transform-direction: Exported functions
transform-point: Exported compiler macros
transform-point: Exported functions
translate: Exported functions
translate*: Exported functions
transpose-matrix: Exported functions

V
vec: Exported functions
vec*: Exported compiler macros
vec*: Exported functions
vec+: Exported compiler macros
vec+: Exported functions
vec-: Exported compiler macros
vec-: Exported functions
vec-length: Exported functions
vec-lerp: Exported compiler macros
vec-lerp: Exported functions
vec-max: Exported functions
vec-min: Exported functions
vec/: Exported compiler macros
vec/: Exported functions
vec=: Exported functions
vec~: Exported functions

Z
zero-matrix: Exported functions

Jump to:   %   (   ~  
A   C   D   E   F   G   H   I   L   M   N   O   P   Q   R   S   T   V   Z  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
C   S  
Index Entry  Section

*
*alloc-funs*: Internal special variables
*optimizable-funs*: Internal special variables

+
+default-epsilon+: Exported constants
+eqn-eps+: Internal constants
+identity-matrix+: Exported constants
+pi+: Internal constants

C
Constant, +default-epsilon+: Exported constants
Constant, +eqn-eps+: Internal constants
Constant, +identity-matrix+: Exported constants
Constant, +pi+: Internal constants

S
Special Variable, *alloc-funs*: Internal special variables
Special Variable, *optimizable-funs*: Internal special variables

Jump to:   *   +  
C   S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   M   P   S   T   V  
Index Entry  Section

M
matrix: Exported types

P
Package, sb-cga: The sb-cga package

S
sb-cga: The sb-cga system
sb-cga: The sb-cga package
sfunction: Internal types
System, sb-cga: The sb-cga system

T
Type, matrix: Exported types
Type, sfunction: Internal types
Type, vec: Exported types

V
vec: Exported types

Jump to:   M   P   S   T   V