generic_vector_tools 1.0.7 generic_vector_tools: ^1.0.7 copied to clipboard
A set of tools for using generic vectors
generic_vector_tools #
A library for Vectors of arbitrary length, and arbitrary element types. Makes use of operator overloads of elements to perform operations.
Usage #
A simple usage example:
import 'package:generic_vector_tools/generic_vector_tools.dart';
main() {
V<double> position = new V<double>([0.0, 10.0]);
V positions = new V([position, position + 10.0, position + 25.0]);
V morePositions = new V([position, position + 90.0, position + 11.1]);
V yetMorePositions = positions + morePositions;
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.