﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Bluebit Software Support Forum / Technical Support and Help / Matrix ActiveX Component </title><generator>InstantForum.NET v4.1.4</generator><description>Bluebit Software Support Forum</description><link>http://www.bluebit.gr/forum/</link><webMaster>support@bluebit.gr</webMaster><lastBuildDate>Tue, 21 May 2013 11:04:19 GMT</lastBuildDate><ttl>20</ttl><item><title>How to embed activex components?</title><link>http://www.bluebit.gr/forum/Topic792-1-1.aspx</link><description>How to embed activex components?</description><pubDate>Mon, 14 Jan 2013 05:08:49 GMT</pubDate><dc:creator>Daku</dc:creator></item><item><title>VB: Invalid procedure call</title><link>http://www.bluebit.gr/forum/Topic42-1-1.aspx</link><description>Hi,strange things happened. Why is this code failing? Should be piece of case (basic math)... It seem that after calculation of eigenvalues, matrix d1 gets corrupted or something&amp;gt; a_m_centered.CorrelationMatrix.Eigen e1, , d1&amp;gt; Debug.Print d1(1, 1) ^ -0.5    'Invalid procedure call or argumentHere is the matrix&amp;gt;? d1.GetString &amp;gt;| -0.539 -0.281  0.296  0.736  0.000 |&amp;gt;| -0.327 -0.574  0.414 -0.626  0.000 |&amp;gt;| -0.523  0.431 -0.090 -0.182  0.707 |&amp;gt;|  0.523 -0.431  0.090  0.182  0.707 |&amp;gt;|  0.237  0.468  0.851  0.010  0.000 |</description><pubDate>Thu, 10 Feb 2005 16:18:45 GMT</pubDate><dc:creator>TeOl</dc:creator></item><item><title>Cholesky factorization, 2DDrawing Conflict</title><link>http://www.bluebit.gr/forum/Topic558-1-1.aspx</link><description>Hello, I am trying the trial active X version.  &lt;br&gt;&lt;br&gt;In VB.NET 2008, you cannot simply use the syntax &lt;br&gt;&lt;br&gt;Dim M as Matrix&lt;br&gt;&lt;br&gt;Since there is a Matrix component of the System.2DDrawing Class&lt;br&gt;&lt;br&gt;The only thing that works is:&lt;br&gt;&lt;br&gt;  Dim M As Bluebit.MatrixLibrary.Matrix&lt;br&gt;  M.Cols = N&lt;br&gt;  M.Rows = N&lt;br&gt;        &lt;br&gt;In addition, "M.Size 5,5" or "M.Cholesky L2" or anything close to this does not work.  &lt;br&gt;&lt;br&gt;Overall, your example code for Cholesky does not work  in VB.NET 2008&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 25 Jun 2009 01:28:12 GMT</pubDate><dc:creator>lep1</dc:creator></item><item><title>Using Matrix ActiveX Component with PowerBuilder</title><link>http://www.bluebit.gr/forum/Topic515-1-1.aspx</link><description>Does anyone has worked with PowerBuilder? ... I am trying to use this component with PB10 but I did not have success in it.&lt;/P&gt;&lt;P&gt;I installed the MACX in WindowsXP, and tryed to declare :&lt;/P&gt;&lt;P&gt;OLEObject Matrix&lt;/P&gt;&lt;P&gt;Matrix = create OLEObject&lt;/P&gt;&lt;P&gt;in the first and main window for a very simple project, and I got an error:&lt;/P&gt;&lt;P&gt;Information C0146:The identifyier matrix conflicts with an existing global variable with this name&lt;/P&gt;&lt;P&gt;Any help will be very appreciated.</description><pubDate>Sun, 23 Nov 2008 17:52:11 GMT</pubDate><dc:creator>robertarg72</dc:creator></item><item><title>matrix square root</title><link>http://www.bluebit.gr/forum/Topic492-1-1.aspx</link><description>I need to know how can I calculate A from  B=A' A ? &lt;/P&gt;&lt;P&gt;note: A is not a square matrix.&lt;/P&gt;&lt;P&gt;Dim(B)=18*18   and     Dim(A)=4*18&lt;BR&gt;</description><pubDate>Thu, 14 Aug 2008 11:33:30 GMT</pubDate><dc:creator>farnaz</dc:creator></item><item><title>SVD decomposition</title><link>http://www.bluebit.gr/forum/Topic445-1-1.aspx</link><description>I have run the following code fragment twice ( variables declaration has been omitted from the code fragment):&lt;/P&gt;&lt;P&gt;first time with a matrix size of 1950,20 ( exactly as in the code fragment).&lt;/P&gt;&lt;P&gt;second time with matrix dimensions of 20, 1950 &lt;/P&gt;&lt;P&gt;the execution time recorded:&lt;/P&gt;&lt;P&gt; 3.121094 for the first run&lt;BR&gt; 0.03125   for the second run ( 100 times faster !!! )&lt;/P&gt;&lt;P&gt;=========code===========&lt;/P&gt;&lt;P&gt;    A.Size 1950, 20        ' A.Size 20, 1950 &lt;BR&gt;    A.FillRandom&lt;BR&gt;    Dim t As Single&lt;BR&gt;    t = Timer&lt;BR&gt;    A.SVD U, S, V&lt;BR&gt;    Debug.Print Timer() - t&lt;BR&gt;==========end of code=====</description><pubDate>Wed, 21 Nov 2007 06:04:03 GMT</pubDate><dc:creator>hooper</dc:creator></item><item><title>asymmetric execution time</title><link>http://www.bluebit.gr/forum/Topic448-1-1.aspx</link><description>playing around with the matrix operations revealed that:&lt;/P&gt;&lt;P&gt;1. for SVD decomposition of a matrix and its transpose is very different&lt;/P&gt;&lt;P&gt;2. the same phenomenon for matrox multiplication. the next code fragment will show that one is executing 5.5 time faster than the other&lt;/P&gt;&lt;P&gt;    Call A.Size(1000, 300)&lt;BR&gt;    Call B.Size(300, 20)&lt;BR&gt;    Call A.FillRandom&lt;BR&gt;    Call B.FillRandom&lt;BR&gt;    t = Timer()&lt;BR&gt;    Set C = A.Times(B)&lt;BR&gt;    Debug.Print Timer() - t&lt;BR&gt;    &lt;BR&gt;    Call A.Size(20, 300)&lt;BR&gt;    Call B.Size(300, 1000)&lt;BR&gt;    Call A.FillRandom&lt;BR&gt;    Call B.FillRandom&lt;BR&gt;    t = Timer()&lt;BR&gt;    Set C = A.Times(B)&lt;BR&gt;    Debug.Print Timer() - t&lt;BR&gt;&lt;/P&gt;&lt;P&gt;may be that i am missing something. &lt;/P&gt;&lt;P&gt;Any idea why?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;---hoop says: playing with numbers might be dangerous---&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt; </description><pubDate>Wed, 21 Nov 2007 08:18:05 GMT</pubDate><dc:creator>hooper</dc:creator></item><item><title>Registering program in C++</title><link>http://www.bluebit.gr/forum/Topic443-1-1.aspx</link><description>I have a valid registration name and key, but I am not getting a valid version back.&lt;/P&gt;&lt;P&gt;I have declared a IMatrix * in my program "View" class.  On creation of the class I create the IMatrix object, then register the program using the name and key sent with the program.&lt;/P&gt;&lt;P&gt;When I actually use the matrix dll, I write the version to a file and its just a bunch of unprintable characters.&lt;/P&gt;&lt;P&gt;A response would be appreciated.&lt;/P&gt;&lt;P&gt;Marmot</description><pubDate>Fri, 05 Oct 2007 13:38:01 GMT</pubDate><dc:creator>Marmot</dc:creator></item><item><title>Using Bluebit with C++</title><link>http://www.bluebit.gr/forum/Topic438-1-1.aspx</link><description>Hi,&lt;P&gt;I am trying to use your product to find the best fit parabola for data we have collected in a C++ .NET 2003 Unmanaged code program.&lt;/P&gt;&lt;P&gt;Below is my code:&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;&lt;P&gt;::CoInitialize(NULL);&lt;/P&gt;&lt;P&gt;hr = ::CoCreateInstance(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;__uuidof&lt;/FONT&gt;&lt;FONT size=2&gt;(Matrix), NULL, CLSCTX_INPROC, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;__uuidof&lt;/FONT&gt;&lt;FONT size=2&gt;(IMatrix), (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt;**)&amp;amp;pLftMatrix);&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;FONT size=2&gt;(FAILED(hr))&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;return&lt;/FONT&gt;&lt;FONT size=2&gt; result;&lt;/P&gt;&lt;P&gt;hr = ::CoCreateInstance(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;__uuidof&lt;/FONT&gt;&lt;FONT size=2&gt;(Matrix), NULL, CLSCTX_INPROC, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;__uuidof&lt;/FONT&gt;&lt;FONT size=2&gt;(IMatrix), (&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt;**)&amp;amp;pRtMatrix);&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;FONT size=2&gt;(FAILED(hr))&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;return&lt;/FONT&gt;&lt;FONT size=2&gt; result;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;//Set the Left Matrix size&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;pLftMatrix-&amp;gt;Size(nDataPts + 1, 3);&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;//Set the Right Matrix size&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;pRtMatrix-&amp;gt;Size(nDataPts + 1, 1);&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;//Fill the matrices with data&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;for&lt;/FONT&gt;&lt;FONT size=2&gt; (i = 0; i &amp;lt;= nDataPts; i++)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;pLftMatrix-&amp;gt;Item[i][0] = 1;&lt;/P&gt;&lt;P&gt;pLftMatrix-&amp;gt;Item[i][1] = zPos[i];&lt;/P&gt;&lt;P&gt;pLftMatrix-&amp;gt;Item[i][2] = zPos[i] * zPos[i];&lt;/P&gt;&lt;P&gt;pRtMatrix-&amp;gt;Item[i][0] = thickness[i];&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;pTLftMatrix = pLftMatrix-&amp;gt;Transpose();&lt;/P&gt;&lt;P&gt;/*My program dies here.  The call pTLftMatrix-&amp;gt;Cols causes an exception.  What am I doing wrong?  Also  How can I capture the exceptions.  I have a catch for : &lt;FONT color=#0000ff size=2&gt;&lt;/P&gt;&lt;P&gt;catch&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; (_com_error&amp;amp; e)  &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;But it doesn't catch it.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Below is the rest of my code.*/&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;errMsg.Format("TLeftMatrix Cols = %s", pTLftMatrix-&amp;gt;Cols);&lt;/P&gt;&lt;P&gt;errMsg.Format("LeftMatrix Rows = %s", pLftMatrix-&amp;gt;Rows);&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;FONT size=2&gt;(pTLftMatrix-&amp;gt;Cols == pLftMatrix-&amp;gt;Rows)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;tempPtr = pTLftMatrix-&amp;gt;Times(&amp;amp;pLftMatrix);&lt;/P&gt;&lt;P&gt;p3X3LftMatrix = tempPtr-&amp;gt;Clone();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;FONT size=2&gt;(pTLftMatrix-&amp;gt;Cols == pRtMatrix-&amp;gt;Rows)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;tempPtr = pTLftMatrix-&amp;gt;Times(&amp;amp;pRtMatrix);&lt;/P&gt;&lt;P&gt;p3X1RtMatrix = tempPtr-&amp;gt;Clone();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;pSolveMatrix = p3X3LftMatrix-&amp;gt;SolveGauss(&amp;amp;p3X1RtMatrix);&lt;/P&gt;&lt;P&gt;result.thickness = pSolveMatrix-&amp;gt;Item[0][0] - (pSolveMatrix-&amp;gt;Item[1][0] * pSolveMatrix-&amp;gt;Item[1][0] / 4 * pSolveMatrix-&amp;gt;Item[2][0]);&lt;/P&gt;&lt;P&gt;result.zPos = -pSolveMatrix-&amp;gt;Item[1][0] / 2 * pSolveMatrix-&amp;gt;Item[2][0];&lt;/P&gt;&lt;P&gt;result.density = 0;&lt;/P&gt;&lt;P&gt;result.Successful = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;FONT size=2&gt;(pLftMatrix)&lt;/P&gt;&lt;P&gt;pLftMatrix-&amp;gt;Release();&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;if&lt;/FONT&gt;&lt;FONT size=2&gt;(pRtMatrix)&lt;/P&gt;&lt;P&gt;pRtMatrix-&amp;gt;Release();&lt;/P&gt;&lt;P&gt;Do you have more examples for using the ActiveX component with C++?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Diane&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000 size=2&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000 size=2&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;</description><pubDate>Mon, 01 Oct 2007 20:55:21 GMT</pubDate><dc:creator>Marmot</dc:creator></item><item><title>Using LU in .NET and ActiveX</title><link>http://www.bluebit.gr/forum/Topic428-1-1.aspx</link><description>To start with, I'm totally new to this.&lt;P&gt;One of my &lt;SPAN style="FONT-SIZE: 10pt; COLOR: #4b6e9d; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Tahoma; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;colleagues &lt;/SPAN&gt;made code in .NET using the LU class.&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;[code]LU lu = new LU(mtx_l);&lt;BR&gt;if (lu.IsSingular) return false;&lt;BR&gt;Matrix res_u = lu.Solve(mtx_u);[/code]&lt;/P&gt;&lt;P&gt;I'm now trying to convert this to C++ using the ActiveX version. I don't see the LU class, but only ad a method to Matrix.&lt;/P&gt;&lt;P&gt;Can anyone help me with an example on how to use the LU method in ActiveX?&lt;/P&gt;&lt;P&gt;-cpede&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 28 Aug 2007 02:49:41 GMT</pubDate><dc:creator>cpede</dc:creator></item><item><title>Ascii to Matrix</title><link>http://www.bluebit.gr/forum/Topic88-1-1.aspx</link><description>How to convert Ascii to Matrix?Ascii file0.100 0.200 0.32 0.40.12 0.0 0.32 0.50.6 0.14 0.2 0.3to MatrixMatrix.size 4,3|0.100 0.200 0.320 0.400||0.120 0.000 0.320 0.500||0.600 0.140 0.200 0.300|thank you</description><pubDate>Mon, 06 Mar 2006 21:04:43 GMT</pubDate><dc:creator>Tewin</dc:creator></item><item><title>Inconsistent results from ReOrderRows - URGENT</title><link>http://www.bluebit.gr/forum/Topic145-1-1.aspx</link><description>I have been having problems with re-ordering the columns of a matrix. To try help things, i have made a simple example using the reOrderRows method (based on the example in the help file distributed with the ActiveX DLL). The code i have used is shown below:&lt;BR&gt;&lt;BR&gt;&lt;FONT color=navy&gt;[code]Private Sub Command1_Click()&lt;BR&gt;Dim A As New Matrix, B As Matrix&lt;BR&gt;Dim perm(5) As Integer&lt;BR&gt;Dim PI As Variant&lt;BR&gt;'Set A = New Matrix&lt;BR&gt;'A.Size 6, 6&lt;BR&gt;'A.FillRandom&lt;BR&gt;&lt;BR&gt;Set B = New Matrix&lt;BR&gt;B.Size 6, 1&lt;BR&gt;'B.FillRandom&lt;BR&gt;B(0, 0) = 5&lt;BR&gt;B(1, 0) = 3&lt;BR&gt;B(2, 0) = 9&lt;BR&gt;B(3, 0) = 7&lt;BR&gt;B(4, 0) = 10&lt;BR&gt;B(5, 0) = 9&lt;BR&gt;&lt;BR&gt;'Debug.Print "A = "&lt;BR&gt;'Debug.Print A.GetString&lt;BR&gt;&lt;BR&gt;Debug.Print "B = "&lt;BR&gt;Debug.Print B.GetString&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;perm(0) = 4&lt;BR&gt;perm(1) = 5&lt;BR&gt;perm(2) = 3&lt;BR&gt;perm(3) = 1&lt;BR&gt;perm(4) = 6&lt;BR&gt;perm(5) = 2&lt;BR&gt;&lt;BR&gt;PI = perm()&lt;BR&gt;B.ReorderRows PI&lt;BR&gt;&lt;BR&gt;Debug.Print "B reordered"&lt;BR&gt;Debug.Print B.GetString&lt;BR&gt;End Sub[/code]&lt;/FONT&gt;&lt;BR&gt;I thought i would make the help file example easier by not using the sort rows method and also by having a constant matrix for B each time. The permutation index stored in perm() is also constant each time. After copying this to the variant PI and then calling the ReorderRows method, i would expect the same output for the reordered B matrix as in the example in the help file.&lt;BR&gt;&lt;BR&gt;However, i do not get the same output each time. The rows are not reordered. Also the value of the first row of the reordered matrix changes with different executions of the above code. This is nearly identical to the problem that i have when i try to reorder columns in my program.&lt;BR&gt;&lt;BR&gt;The output from different executions of the above code is shown below:&lt;BR&gt;&lt;BR&gt;&lt;FONT color=navy&gt;[code]B = &lt;BR&gt;| 5.000 |&lt;BR&gt;| 3.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;&lt;BR&gt;B reordered&lt;BR&gt;| 9.000 |&lt;BR&gt;| 3.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;------------------------&lt;BR&gt;B = &lt;BR&gt;| 5.000 |&lt;BR&gt;| 3.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;&lt;BR&gt;B reordered&lt;BR&gt;| 5.000 |&lt;BR&gt;| 3.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;------------------------&lt;BR&gt;B = &lt;BR&gt;| 5.000 |&lt;BR&gt;| 3.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;&lt;BR&gt;B reordered&lt;BR&gt;| 5.000 |&lt;BR&gt;| 3.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;------------------------&lt;BR&gt;B = &lt;BR&gt;| 5.000 |&lt;BR&gt;| 3.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;&lt;BR&gt;B reordered&lt;BR&gt;| 7.000 |&lt;BR&gt;| 3.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |[/code]&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;The results that i expect (which are the same results from the help example) are shown below:&lt;BR&gt;&lt;BR&gt;&lt;FONT color=navy&gt;[code]&lt;BR&gt;B = &lt;BR&gt;| 5.000 |&lt;BR&gt;| 3.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;&lt;BR&gt;B reordered&lt;BR&gt;| 7.000 |&lt;BR&gt;| 10.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 5.000 |&lt;BR&gt;| 9.000 |&lt;BR&gt;| 3.000 |[/code]&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;Can you please help me with what is going wrong as i am completely stuck?</description><pubDate>Wed, 29 Nov 2006 06:31:15 GMT</pubDate><dc:creator>zicon</dc:creator></item><item><title>Regarding SVD..</title><link>http://www.bluebit.gr/forum/Topic135-1-1.aspx</link><description>hi, i wish to know that how can i use this Matrix ActiveX Component to calculate the SVD of a matrix? after i made a reference to it, i don't know how to use it in my code. i will be appreciate if you can explain to me as i'm just started to learn VB...Thank you</description><pubDate>Mon, 20 Nov 2006 23:43:45 GMT</pubDate><dc:creator>Wing</dc:creator></item><item><title>Drop a matrix column</title><link>http://www.bluebit.gr/forum/Topic143-1-1.aspx</link><description>What is the best way to drop columns in a matrix?This carries on from my previous question about variance.  I have a matrix M and i want to delete any column in it that has a variance of 0.  I have got the check for zero variance working but i'm unsure as the best way to get rid of columns.My current way of thinking is to move all the columns of M that have zero variance to the far right of the matrix and then to use the submatrix method to take only the left-most columns that i want.I am not sure this is the best way to do things though as it seems a bit time consuming creating a permIndex to move every single column to a new place.</description><pubDate>Mon, 27 Nov 2006 08:28:33 GMT</pubDate><dc:creator>zicon</dc:creator></item><item><title>column variance</title><link>http://www.bluebit.gr/forum/Topic138-1-1.aspx</link><description>what is the best way to get the variance of a column in a matrix?</description><pubDate>Fri, 24 Nov 2006 04:26:26 GMT</pubDate><dc:creator>zicon</dc:creator></item><item><title>Eigendecomposition and reconstruction</title><link>http://www.bluebit.gr/forum/Topic118-1-1.aspx</link><description>I am a newbie to Matrix mathematics but I am familiar with VB and ActiveX. I just know what I want to do, but not sure how to do it.I need to read a data file (I would prefer a plain ASCII text file) containing about 4,000 data points recorded at 1-minute intervals (just a single column of data), do Eigendecomposition and reconstruction processing on this data and write results (without the noise component) to an output file. I need to repeat this automatically every 10 seconds. I tried AutoSignal software on my data and it produced a good signal with settings of (I don't know what these mean):Eigen Method: CovM FBOrder:40Signal Space:2AutoSignal is a little expensive and it can't do this automatically so I need to write a VB program to do this.Questions: Can Blue bit's ActiveX do this? What should the parameters be? Any typical VB code?  Thank you,</description><pubDate>Wed, 23 Aug 2006 14:16:49 GMT</pubDate><dc:creator>warren631</dc:creator></item><item><title>Eigen Recomposition</title><link>http://www.bluebit.gr/forum/Topic116-1-1.aspx</link><description>I've got a square matrix, about 500x500 that is non positive definite.  Trying to fix this, I perform the following steps:1) perform eigenvalue decomposition2) a form of ridge regularization - bring all real eigenvalues below a certain threshold up to that threshold3) recompose matrix via real_eig_vecs*new_eig_vals*real_eig_vecs'4) perform eigenvalue decomposition on new matrixNow, even though the original matrix had no complex eigenvalues or eigenvectors, the new matrix has quite a few (on the order of 1e-15).  It seems to me that this should not happen, given that the inputs to the recomposition were entirely real.  Besides that,the fact that the complex parts of the eigenvalues are so small indicates to me a potential rounding type issue.Am I incorrect, and is this behavior acceptable, or is it truly anomolous?  I appreciate any guidance anyone can provide.</description><pubDate>Sat, 19 Aug 2006 15:16:52 GMT</pubDate><dc:creator>andrewhowe</dc:creator></item><item><title>SVD Speed</title><link>http://www.bluebit.gr/forum/Topic109-1-1.aspx</link><description>How fast in the SVD routine on a large 1500 x 1500 matrix? This matrix is very sparse. And what kind of speed improvment would oneget using QR instead of SVD?</description><pubDate>Wed, 14 Jun 2006 16:12:03 GMT</pubDate><dc:creator>JGD</dc:creator></item><item><title>VS 2005 C++  - how to use "Eigen" ??</title><link>http://www.bluebit.gr/forum/Topic108-1-1.aspx</link><description>hii`m using Visual studio 2005 C++and i have problem with using Eigen :(what code should I write to get eigenvalues and eigenvectors from matrix A?here is my code:Matrix * A = new MatrixClass();Matrix * B = new MatrixClass();Matrix * C = new MatrixClass();Matrix * D = new MatrixClass();Matrix * E = new MatrixClass();Matrix * F = new MatrixClass();	A-&amp;gt;Size(3,3);B-&amp;gt;Size(3,1);C-&amp;gt;Size(3,1);D-&amp;gt;Size(3,3);E-&amp;gt;Size(3,3);F-&amp;gt;Size(3,3);A-&amp;gt;set_Item(0,0,1);A-&amp;gt;set_Item(0,1,2);A-&amp;gt;set_Item(0,2,3);A-&amp;gt;set_Item(1,0,4);A-&amp;gt;set_Item(1,1,5);A-&amp;gt;set_Item(1,2,6);A-&amp;gt;set_Item(2,0,7);A-&amp;gt;set_Item(2,1,8);A-&amp;gt;set_Item(2,2,9);Console::WriteLine("My matrix:");Console::WriteLine(A-&amp;gt;GetString(3,"&lt;br&gt;"));Console::Read();how use EIGEN ???becouse when I use:"A-&amp;gt;Eigen(__gc (*B), __gc*(C), __gc *(D), __gc *(E));"compiler shows me error :(</description><pubDate>Thu, 08 Jun 2006 16:30:48 GMT</pubDate><dc:creator>mleko</dc:creator></item><item><title>Sorting</title><link>http://www.bluebit.gr/forum/Topic101-1-1.aspx</link><description>What type of sorting algorithm is used for the sortrows method?</description><pubDate>Thu, 18 May 2006 13:56:07 GMT</pubDate><dc:creator>adrianbb</dc:creator></item><item><title>ActiveX Component with FOXPRO</title><link>http://www.bluebit.gr/forum/Topic92-1-1.aspx</link><description>Has anyone had any experience using this control with MS FoxPro? I have downloaded the trial version to test it out before i buy the advanced version.  The excel example works but the help file says to select the activeX control from References on the Tools menu.  In FoxPro there is no references option on the tools menu.In the FoxPro options there is a 'Controls' tab where the activeX controls can be selected.  I have tried to add the control to this list but it does not appear after being added.Can anyone please give me some advice on how i go about using this control from with FoxPro?Thanks,James.</description><pubDate>Tue, 21 Mar 2006 02:22:02 GMT</pubDate><dc:creator>zicon</dc:creator></item><item><title>Getstring</title><link>http://www.bluebit.gr/forum/Topic89-1-1.aspx</link><description>hiI use method "matrix.getstring"it show| 0.2 0.3 0.1 || 0.1 0.5 0.6 || 0.5 0.1 0.2 |How it can show without " | "0.2 0.3 0.10.1 0.5 0.60.5 0.1 0.2thank you</description><pubDate>Tue, 07 Mar 2006 09:15:24 GMT</pubDate><dc:creator>Tewin</dc:creator></item><item><title>Wrapping methods of MaXC together</title><link>http://www.bluebit.gr/forum/Topic54-1-1.aspx</link><description>Hello, I have been wondering if there is a way to wrap together, or nest, several methods of MaXC together, to simplify some work I'm doing. As an example, let's say I have three matrices: matrix W1 is a row vector with 4 elements, matrix A is a 4 x 4 square matrix, and matrix W2 is a column vector with 4 elements. I want to premultiply A by W1 and postmultiply it by W2, with the result then being a single number (call it RESULT). What I tried first was something like: [code]Set RESULT = W1.Times(A.Times(W2))[/code]This did not work. I found that I had to first create an intermediate result for the portion of the above represented by A.Times(W2), with: [code]Set temp_matrix = A.Times(W2)[/code] and then do something like: [code]Set RESULT = W1.Times(temp_matrix)[/code] This means that I also had to dimension, instantiate, and size the matrix "temp_matrix", which is three additional lines of code that it would be nice not to have to worry about. Is there some way to nest the functions together?Thanks! </description><pubDate>Tue, 05 Apr 2005 12:04:24 GMT</pubDate><dc:creator>anonymous</dc:creator></item><item><title>Matrix Square Root</title><link>http://www.bluebit.gr/forum/Topic41-1-1.aspx</link><description>Dear Trifon,I have got square of a matrix and I want to calculate the matrix. In other words I need to know how can I calculate A while I have A * A ?thanks.</description><pubDate>Mon, 17 Jan 2005 13:54:55 GMT</pubDate><dc:creator>rezaghaemma</dc:creator></item><item><title>Accuracy in CMatrix.Inverse</title><link>http://www.bluebit.gr/forum/Topic39-1-1.aspx</link><description>Hi All,I have a problem in working out the inverse of a CMatrix when its determinant is very small (less than 1e-200). I copied the result of GetString() method into Matlab, and finally got the inverse and determinant of my Matrix there. Matlab responded properly whereas CMatrix3.1 had shown me this message: "Matrix cannot be inverted". I am guessing the problem lies in accuracy of 'Double' variable of Visual Basic 6.0, the language I am writing my code with. Anybody has a better idea? And if you guess so, may you tell me how to solve this problem?Thanx in advance,Reza.</description><pubDate>Sun, 09 Jan 2005 10:25:33 GMT</pubDate><dc:creator>rezaghaemma</dc:creator></item><item><title>populating whole rows and columns</title><link>http://www.bluebit.gr/forum/Topic37-1-1.aspx</link><description>In MATLAB one can populate whole columns or rows using the conventionB = A(:,1) or B = A(1,:)which extracts a row or a column from A. AlsoB = A(1:2,1:2) extracts a 2x2 matrix from A.Are you planning to put something like this in the ActiveX component? Doing "for" loops to populate a matrix is a nuisance...</description><pubDate>Wed, 05 Jan 2005 00:38:27 GMT</pubDate><dc:creator>zdrawko</dc:creator></item><item><title>[Q] Computation of Covariance Matrix?</title><link>http://www.bluebit.gr/forum/Topic36-1-1.aspx</link><description>X1    X23387  2200 3109  875  2670  957  3125  1758  3469  868  3120  398  3671  1603 4531  523  3678  2034 3238  1136 3135  5326 5217  1658 3728  1945 3506  344  3824  807  3516  1223 The computation result of covariance matrix of sample matrix is not same as the solution in my book. It doesn't seem to be a rounding off error. How about your compuation result of covariance matrix of above Sample data?In Visual C++ 6.0 environment.Thanks in advance.</description><pubDate>Thu, 23 Dec 2004 05:03:35 GMT</pubDate><dc:creator>sprints</dc:creator></item><item><title>complex arithmetic in C++</title><link>http://www.bluebit.gr/forum/Topic28-1-1.aspx</link><description>I've downloaded your software and am having problems with the complex arithmetic. I have a piece of code:ICMatrix *z;Complex x, y, v;...x = z-&amp;gt;GetItem(0,0);y = z-&amp;gt;GetItem(0,1);v = CMul(&amp;x,&amp;y);I have errors C2065: CMul undeclared identifierand C2100: illegal indirection.When I use only matrix operations everything is ok.What should I do?I use Microsoft Visual Studio .NET</description><pubDate>Thu, 28 Oct 2004 14:48:31 GMT</pubDate><dc:creator>Ann</dc:creator></item><item><title>Output or Exporting a Matrix from VBA</title><link>http://www.bluebit.gr/forum/Topic22-1-1.aspx</link><description>Dear Forum Members   I am porting some code from Matlab into Excel VBA, as I am currently swapping between the two apps. I am generating some large Matricies which I can not put into Excel because of the 255 (Cell IV1) width limit. Having scanned the Help files in VBA and MaxC I can not find a way of exporting or saving the Matrix. A text file (any delimiter) would be fine. Can anyone help solve this problem?Thanks in advance for your help.~~~~~~~~~~Jason Hyde</description><pubDate>Mon, 30 Aug 2004 17:54:03 GMT</pubDate><dc:creator>pczjrh</dc:creator></item><item><title>Significant Digits</title><link>http://www.bluebit.gr/forum/Topic17-1-1.aspx</link><description>How many significant digits does a matrix retain?  I am running calculations that require at least 6 decimal places, however, when I view the matrix contents in the debug window, only 3 decimal places are shown.</description><pubDate>Wed, 31 Mar 2004 09:36:00 GMT</pubDate><dc:creator>anonymous</dc:creator></item><item><title>Compatibility with C#</title><link>http://www.bluebit.gr/forum/Topic15-1-1.aspx</link><description>HelloI'm wondering if I can use Matrix component with Microsoft C#.NetThanks in advance,Nuno</description><pubDate>Mon, 22 Mar 2004 15:35:31 GMT</pubDate><dc:creator>nunobijou</dc:creator></item><item><title>Moore-Penrose inverse -  pseudoinverse</title><link>http://www.bluebit.gr/forum/Topic14-1-1.aspx</link><description>Hi Is there a way to use Matrix ActiveX Component in order to calculate the Moore-Penrose inverse (pseudoinverse) of a matrix?Thanks</description><pubDate>Sun, 21 Mar 2004 21:14:22 GMT</pubDate><dc:creator>anonymous</dc:creator></item><item><title>Least Squares Fit of a 3rd order polynomial</title><link>http://www.bluebit.gr/forum/Topic12-1-1.aspx</link><description>I am interested in using your matrix component in a project and would like to know if it will do what is needed.Project: Using linear regression, extract roots or coeficients from a set of ordered pairs (x,y).  These coeficients will then be used in a 3rd order polynomial to generate y based on x. The platform is Visual Basic .NET.Questions:1. Will your software do this? 2. Do you have any example code or suggestions?3. What are the limitations.Thanks</description><pubDate>Wed, 17 Mar 2004 23:23:43 GMT</pubDate><dc:creator>anonymous</dc:creator></item><item><title>Times method</title><link>http://www.bluebit.gr/forum/Topic11-1-1.aspx</link><description>I've downloaded your software and am having problems with the times method.&lt;BR&gt;I want to multiply a 3x3 matrix by a 3x1 matrix and get a type mismatch error. Your help file says that " The number or rows of Matrix2 parameter must be equal to number of columns of current Matrix" which I believe is the case.&lt;BR&gt;&lt;BR&gt;The code I have used is:&lt;BR&gt;[code] Dim M1, M2, M3, M4 As Matrix&lt;BR&gt;&lt;BR&gt;Set M1 = New Matrix&lt;BR&gt;&lt;BR&gt;M1.Rows = 3: M1.Cols = 3&lt;BR&gt;&lt;BR&gt;M1.Item(0, 0) = 3&lt;BR&gt;M1.Item(0, 1) = 4&lt;BR&gt;M1.Item(0, 2) = 5&lt;BR&gt;M1.Item(1, 0) = 6&lt;BR&gt;M1.Item(1, 1) = 7&lt;BR&gt;M1.Item(1, 2) = 8&lt;BR&gt;M1.Item(2, 0) = 9&lt;BR&gt;M1.Item(2, 1) = 10&lt;BR&gt;M1.Item(2, 2) = 11&lt;BR&gt;&lt;BR&gt;Set M2 = New Matrix&lt;BR&gt;M2.Rows = 3: M2.Cols = 1&lt;BR&gt;&lt;BR&gt;M2.Item(0, 0) = 1&lt;BR&gt;M2.Item(1, 0) = 1&lt;BR&gt;M2.Item(2, 0) = 1&lt;BR&gt;&lt;BR&gt;Set M3 = M1.Times(M2) &amp;lt;---------- Type mismatch error here!&lt;BR&gt;[/code] &lt;BR&gt;Can you let me know why this doesn't work. More complicated functions such as inverse are working ok and multiplying 3x3 by 3x3 works.</description><pubDate>Wed, 17 Mar 2004 19:38:20 GMT</pubDate><dc:creator>anonymous</dc:creator></item><item><title>Use with Borland Builder C++</title><link>http://www.bluebit.gr/forum/Topic8-1-1.aspx</link><description>I recently downloaded your evaluation version of the Matrix Active control and have been trying to put it through some tests.  I am not a professional program, but a mechanical engineer, so bear with me...The Matrix ActiveX control appears to be targeted to Visual Basic users, which I am one.  I've used it with VB, and found it very easy to use.  I am currently trying to use it in Borland's C++ Builder.  Borland C++ Builder is capable of importing the ActiveX through the dll and puts a wrapper on it for use in the program as an ActiveX control.  The Matrix and CMatrix controls are easy to use, but when it comes to performing math on the matrices, the compiler indicates that it is expecting reference to IMatrix not Matrix.Do you know how I can perform the math functions using Borland's C++ Builder?  I believe Borland's Delphi is similar except it uses Pascal instead of C++.</description><pubDate>Tue, 02 Mar 2004 01:13:22 GMT</pubDate><dc:creator>bowser</dc:creator></item><item><title>Using Matrix ActiveX Component in vbscript</title><link>http://www.bluebit.gr/forum/Topic7-1-1.aspx</link><description>I am trying to use MaXC in vbscript and I get a type mismatch error when I try to use the Times Method.&lt;BR&gt;&lt;BR&gt;This is the code I use:&lt;BR&gt;&lt;BR&gt;[code]&lt;BR&gt;Set A = CreateObject("BluebitMatrix30.Matrix")&lt;BR&gt;A.Size 4, 4&lt;BR&gt;A.FillRandom&lt;BR&gt;&lt;BR&gt;Set B = CreateObject("BluebitMatrix30.Matrix")&lt;BR&gt;B.Size 4, 4&lt;BR&gt;B.FillRandom&lt;BR&gt;&lt;BR&gt;Set C = A.Times(B) &amp;lt;-- Type mismatch error here&lt;BR&gt;[/code]</description><pubDate>Mon, 01 Mar 2004 18:21:55 GMT</pubDate><dc:creator>anonymous</dc:creator></item><item><title>Use of MaXC30 in Excel</title><link>http://www.bluebit.gr/forum/Topic6-1-1.aspx</link><description>Hi,&lt;BR&gt;&lt;BR&gt;I am having trouble with using the eigen method&lt;BR&gt;&lt;BR&gt;I get an 'type mismatch (13)' error no matter how I try to using it. The&lt;BR&gt;code below does not work and gives the error I have mentioned.&lt;BR&gt;[code]&lt;BR&gt;Sub genvalues(Sheet, FX, FY)&lt;BR&gt;Set M = CreateObject("BluebitMatrix30.Matrix")&lt;BR&gt;M.Size 3, 3&lt;BR&gt;&lt;BR&gt;For X = 0 To 2&lt;BR&gt;For Y = 0 To 2&lt;BR&gt;M(X, Y) = Worksheets(Sheet).Cells(Y + FY, X + FX)&lt;BR&gt;Next&lt;BR&gt;Next&lt;BR&gt;&lt;BR&gt;Set RoE = CreateObject("BluebitMatrix30.Matrix")&lt;BR&gt;Set IoE = CreateObject("BluebitMatrix30.Matrix")&lt;BR&gt;Set RoV = CreateObject("BluebitMatrix30.Matrix")&lt;BR&gt;Set IoV = CreateObject("BluebitMatrix30.Matrix")&lt;BR&gt;&lt;BR&gt;M.EigenC RoE, IoE, RoV, IoV&lt;BR&gt;....&lt;BR&gt;End Sub&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;I have also tried not declaring the variables.&lt;BR&gt;&lt;BR&gt;Can you tell me what I am doing wrong.&lt;BR&gt;&lt;BR&gt;Thanks in advance</description><pubDate>Mon, 01 Mar 2004 16:50:33 GMT</pubDate><dc:creator>anonymous</dc:creator></item><item><title>MaXC forum is active</title><link>http://www.bluebit.gr/forum/Topic1-1-1.aspx</link><description>Thank you for visiting this forum. This is a place where you can post your queries and receive support for all issues regarding Matrix ActiveX Component.</description><pubDate>Mon, 23 Feb 2004 14:25:17 GMT</pubDate><dc:creator>Trifon</dc:creator></item></channel></rss>