omdl  v0.9.5
OpenSCAD Mechanical Design Library
list_compare.scad File Reference

List data type comparision. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

function almost_eq_nv (v1, v2, p=6)
 Test to see if two numerical vectors are sufficiently equal. More...
 
function almost_eq (v1, v2, p=6)
 Test if all elements of two iterable values are sufficiently equal. More...
 
function compare (v1, v2, s=true)
 Compare the sort order of any two values. More...
 

Detailed Description

List data type comparision.

Author
Roy Allen Sutton
Date
2015-2023

This file is part of omdl, an OpenSCAD mechanical design library.

The omdl is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

The omdl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the omdl; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA; or see http://www.gnu.org/licenses/.

Definition in file list_compare.scad.