List of: Scheme Extensions
Subjects: Analyzing Models, Mathematics
Contents: Kernel

Action: Gets the length of a gvector.

Filename: kern/kern_scm/gvec_scm.cxx

Syntax: (gvector:length gvector)

Arg Types: gvector gvector

Returns: real

Description: Returns the length of a gvector as a real value.

gvector specifies a gvector.

Example: ; gvector:length

; Determine the length of two gvectors.

(gvector:length (gvector 0 6 0))

;; 6

(gvector:length (gvector 4 4 4))

;; 6.92820323027551