Table functions (set of set in tabular form).
//////////////////////////////////////////////////////////////////////////////
// FILE : tab.tol
// AUTHOR : http://www.asolver.com
// PURPOSE : Table functions (set of set in tabular form).
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// FUNCTIONS
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
Serie Tab2Ser(Set dteVal, // Set table with dates and values
TimeSet serTms, // Time set
Real dteCol, // Column of dates
Real valCol) // Column of values
//////////////////////////////////////////////////////////////////////////////
{
Set tab = EvalSet(dteVal, Set(Set lin) { [[ lin[dteCol],lin[valCol] ]] });
Set2Ser(tab, serTms)
};
//////////////////////////////////////////////////////////////////////////////
PutDescription(
"Returns a serie in serTms time set using the dates and values of the columns
dteCol and valCol of table dteVal.",
Tab2Ser);
//////////////////////////////////////////////////////////////////////////////
Ink.Watercolor construye las páginas del sitio web inkwatercolor.com
2015 asolver.com | Aviso legal | XHTML | Δ Θ Ξ | Creative Commons | Mapa y funciones del sitio