GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ndarray/vector at main · stdlib-js/ndarray

Expand file tree

/

vector

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

vector

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
bool
bool
 
 
complex128
complex128
 
 
complex64
complex64
 
 
ctor
ctor
 
 
docs/types
docs/types
 
 
examples
examples
 
 
float32
float32
 
 
float64
float64
 
 
generic
generic
 
 
int16
int16
 
 
int32
int32
 
 
int8
int8
 
 
lib
lib
 
 
test
test
 
 
uint16
uint16
 
 
uint32
uint32
 
 
uint8
uint8
 
 
uint8c
uint8c
 
 
README.md
README.md
 
 
package.json
package.json
 
 

README.md

Outline

Vector

Vector constructors and associated utilities.

Usage

var ns = require( '@stdlib/ndarray/vector' );

ns

Namespace containing ndarray vector constructors and associated utilities.

var o = ns;
// returns {...}

The namespace exports the following:

  • BooleanVector(): create a boolean vector (i.e., a one-dimensional ndarray).
  • Complex128Vector(): create a double-precision complex floating-point vector (i.e., a one-dimensional ndarray).
  • Complex64Vector(): create a single-precision complex floating-point vector (i.e., a one-dimensional ndarray).
  • vector(): create a vector (i.e., a one-dimensional ndarray).
  • Float32Vector(): create a single-precision floating-point vector (i.e., a one-dimensional ndarray).
  • Float64Vector(): create a double-precision floating-point vector (i.e., a one-dimensional ndarray).
  • GenericVector(): create a "generic" vector (i.e., a one-dimensional ndarray).
  • Int16Vector(): create a signed 16-bit integer vector (i.e., a one-dimensional ndarray).
  • Int32Vector(): create a signed 32-bit integer vector (i.e., a one-dimensional ndarray).
  • Int8Vector(): create a signed 8-bit integer vector (i.e., a one-dimensional ndarray).
  • Uint16Vector(): create an unsigned 16-bit integer vector (i.e., a one-dimensional ndarray).
  • Uint32Vector(): create an unsigned 32-bit integer vector (i.e., a one-dimensional ndarray).
  • Uint8Vector(): create an unsigned 8-bit integer vector (i.e., a one-dimensional ndarray).
  • Uint8ClampedVector(): create a clamped unsigned 8-bit integer vector (i.e., a one-dimensional ndarray).

Examples

var objectKeys = require( '@stdlib/utils/keys' );
var ns = require( '@stdlib/ndarray/vector' );

console.log( objectKeys( ns ) );
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.