Generated from/for: https://gitlab.com/mambrus/lua-ctables

Modules

lua-ctables Use numerical C-arrays as Lua tables/matrices (C-API)

Map or serialize C-arrays (void * buffers) of any type with/and multi-dimensional Lua tables/matrices.

lua-ctables-extra Additional extra API (optional, true)

Extends lua-ctables with more features but which are not necessary for core usage.

lua-refarr A refarr Lua userdata data-type

Scripts

Vector-test.lua Test script for class::Vector
Vector-vmul_test.lua Test script for class::Vector:vmul multiplication
Vector-multi.lua

Test-script for module ctables and class::Vector testing limits of dimensions

Arguments

  • How many dimensions
  • Resolve dimensions from test-matrix using method (optional).
ctable.lua Test script for function ctable of module ctables

ctable is top of the food-chain function of ctables.

larray.lua Test script for function larray of module ctables

Classes

Vector Declare a new class "Vector" into global table inherited from "table" and with initialization constructor

Usage:

-- Pulls itself and all sub-requirements in lua-ctable package with one
-- require()
require("Vector")                                   --> true
type(Vector)                                        --> table
ctables.version()                                   --> 1.0.2-1 d0134dd   5.3

Alternatively put require("Vector") your $LUA_INIT script

NOTE:Using require("Vector") will also automatically ctables=require("lua-ctables").

generated by LDoc 1.5.0 Last updated 2024-09-16 20:16:45