Search found 49 matches: ncols

Searched query: ncols

by Antonio Linares
Sat Jan 11, 2025 8:23 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

Re: CLASS Transformer

... nRows );

// Copiar y escalar los datos
for( i = 0; i < nRows; i++ )
{
PHB_ITEM pRow = hb_arrayGetItemPtr( pMatrix, i + 1 );
HB_SIZE nCols = hb_arrayLen( pRow );

PHB_ITEM pRowResult = hb_itemArrayNew( nCols );

for( j = 0; j < nCols; j++ )
{
double value = hb_arrayGetND( pRow, j ...
by Antonio Linares
Sat Jan 11, 2025 8:06 pm
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

Re: CLASS Transformer

... nRows );

// Copiar y escalar los datos
for( i = 0; i < nRows; i++ )
{
PHB_ITEM pRow = hb_arrayGetItemPtr( pMatrix, i + 1 );
HB_SIZE nCols = hb_arrayLen( pRow );

PHB_ITEM pRowResult = hb_itemArrayNew( nCols );

for( j = 0; j < nCols; j++ )
{
double value = hb_arrayGetND( pRow, j ...
by Antonio Linares
Sat Jan 11, 2025 9:31 am
Forum: Artificial Intelligence examples
Topic: CLASS Transformer
Replies: 2
Views: 806

CLASS Transformer

... nRows );

// Copiar y escalar los datos
for( i = 0; i < nRows; i++ )
{
PHB_ITEM pRow = hb_arrayGetItemPtr( pMatrix, i + 1 );
HB_SIZE nCols = hb_arrayLen( pRow );

PHB_ITEM pRowResult = hb_itemArrayNew( nCols );

for( j = 0; j < nCols; j++ )
{
double value = hb_arrayGetND( pRow, j ...
by Silvio.Falconi
Mon Jan 22, 2024 9:57 am
Forum: FiveWin for Harbour/xHarbour
Topic: Creating table with Trichedit
Replies: 18
Views: 3997

Creating table with Trichedit

Using InsertTable( nRows, nCols )method of Trichedit
How insert data info on each cells?

For a sample I have an array aschema is 3 rows with 10 columns
How create a table on Rtf with this array ?
by Antonio Linares
Mon Dec 28, 2020 3:18 pm
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 6307

Re: New FTDN December/Diciembre 2020 (FWH 20.12)

... Nueva clase FW_Matrix (para cálculos matriciales)

CLASS FW_Matrix:

DATAs de sólo lectura y métodos de acceso:

DATA aMatrix READONLY
DATA nRows, nCols READONLY
ACCESS lSquare INLINE ( ::nRows == ::nCols )
ACCESS Determinant INLINE If( ::nRows == ::nCols, m_determinant( ::aMatrix ), 0 )
ACCESS ...
by Antonio Linares
Mon Dec 28, 2020 10:16 am
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 6307

New FTDN December/Diciembre 2020 (FWH 20.12)

... 39736
* New CLASS FW_Matrix (for matrix calculations)
CLASS FW_Matrix:

READ ONLY DATAS AND ACCESS METHODS:

DATA aMatrix READONLY
DATA nRows, nCols READONLY
ACCESS lSquare INLINE ( ::nRows == ::nCols )
ACCESS Determinant INLINE If( ::nRows == ::nCols, m_determinant( ::aMatrix ), 0 )
ACCESS ...
by nageswaragunupudi
Thu Dec 10, 2020 9:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: Support for Matrix calculations
Replies: 3
Views: 994

Re: FWH: Support for Matrix calculations

CLASS FW_Matrix:


READ ONLY DATAS AND ACCESS METHODS:

DATA aMatrix READONLY
DATA nRows, nCols READONLY
ACCESS lSquare INLINE ( ::nRows == ::nCols )
ACCESS Determinant INLINE If( ::nRows == ::nCols, m_determinant( ::aMatrix ), 0 )
ACCESS IsIdentity

CONSTRUCTOR METHODS:

METHOD New( aArray ...
by wyerco613
Tue Jul 30, 2019 10:48 am
Forum: FiveWin para Harbour/xHarbour
Topic: ¿ Se puede saber el rango de un archivo Excel ?
Replies: 8
Views: 1379

Re: ¿ Se puede saber el rango de un archivo Excel ?

... tienes tu objeto de Excel, puedes usar estar instrucciones de Excel:

nFils := oXls:oSheet:UsedRange:Rows:Count() //<--- No de Filas o registros
nCols := oXls:oSheet:UsedRange:Columns:Count() //<--- No de Columas

Yo lo utilizo, usando la clase TExcelScrip()
cFile := "C:\doctos\excel\doctoexcel ...
by csincuir
Mon Jul 29, 2019 3:53 pm
Forum: FiveWin para Harbour/xHarbour
Topic: ¿ Se puede saber el rango de un archivo Excel ?
Replies: 8
Views: 1379

Re: ¿ Se puede saber el rango de un archivo Excel ?

... tienes tu objeto de Excel, puedes usar estar instrucciones de Excel:

nFils := oXls:oSheet:UsedRange:Rows:Count() //<--- No de Filas o registros
nCols := oXls:oSheet:UsedRange:Columns:Count() //<--- No de Columas

Yo lo utilizo, usando la clase TExcelScrip()
&nbsp; &nbsp;cFile := "C:\doctos ...
by Antonio Linares
Mon Sep 03, 2018 11:04 am
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2018 (FWH 18.06)
Replies: 1
Views: 3205

Re: New FTDN June/Junio 2018 (FWH 18.06)

... objeto de conexión Dolphin, sin proporcionar información
al servidor de nuevo.
Por ejemplo: oCn := maria_Connect( oServer )
- El método SetTree( nCols, [aBmps] ) de XBrowse, ahora funciona con "RowSets - Conjunto de filas" también.
- Corrección: Error raro en el método CreateTable() cuando se usan ...
by Antonio Linares
Sat Sep 01, 2018 8:33 am
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2018 (FWH 18.06)
Replies: 1
Views: 3205

New FTDN June/Junio 2018 (FWH 18.06)

... from dolphin connection
object, without providing server information again
Eg: oCn := maria_Connect( oServer )

- XBrowse method SetTree( nCols, [aBmps] ) now works with RowSets also.

- Fix: Rare bug in method CreateTable() when some collations are used for
individual columns.

- method ...
by Armando
Thu Apr 12, 2018 4:45 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Cómo saber Fila y Columna final en excel?
Replies: 2
Views: 549

Re: Cómo saber Fila y Columna final en excel?

Noe:

Muchas gracias, parece que las líneas

nRows := oHoja:UsedRange:Rows:Count()
nCols := oHoja:UsedRange:Columns:Count()

Son las que me sacarán del problema.

Saludos
by rubenfernandez01
Sun Oct 22, 2017 4:40 pm
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 6961

Re: funciones de FWH y Harbour en un archivo .txt

... bNewCodeblock>],[<bCondition>])->bOldCodeblock
SetLastError(<nNewErrorCode>)->nOldErrorCode
SetLastKey(<nKey>)->cNullString
SetMode(<nRows>,<nCols>)->lSuccess
SetMouse([<lOnOff>],[<nRow>],[<nCol>])->lIsMouseVisible
SetNewDate(<nYear>,<nMonth>,<nDay>)->lSuccess
SetNewTime(<nHour>,<nMinute ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 6961

Re: funciones de FWH y Harbour en un archivo .txt

... bNewCodeblock>],[<bCondition>])->bOldCodeblock
SetLastError(<nNewErrorCode>)->nOldErrorCode
SetLastKey(<nKey>)->cNullString
SetMode(<nRows>,<nCols>)->lSuccess
SetMouse([<lOnOff>],[<nRow>],[<nCol>])->lIsMouseVisible
SetNewDate(<nYear>,<nMonth>,<nDay>)->lSuccess
SetNewTime(<nHour>,<nMinute ...
by Silvio.Falconi
Mon Mar 20, 2017 9:56 am
Forum: FiveWin for Harbour/xHarbour
Topic: declare array
Replies: 5
Views: 922

Re: declare array

yes of course !!!

BUT I not Know the value of nRows and nCols
if at init I made
aVal:={ }

then not run because the procedure understood the array is simply and not multiple as

aVal:={ { } ,;
{ },;
{ } }

I insert 3 records for make a sample