[algogeeks] Matriz of int

2016-05-16 Thread Luciano Junior
For a NxM matrix, with N lines and M columns of long integers, representing a full paragraph of text, each set of 8 letters into cell 1x1 as, L0, L1, ..., L7, are stored in the following way, l7, L6, ..., l1, l0 (i.e., backward); in the cell 1x2 presents the next set of 8 letters as follows l15,

[algogeeks] Function pointer in c++ to subclass member function

2013-03-18 Thread Luciano Junior
Anyone know how to can make un function pointer in c++ to subclass member function ? Example class Class_1 { void (*nomFunc) (int); ... } class Class_2: public Class_1 { void foo (int x); Class_2 (); } Class_2::Class_2 () { nomFunc = Class_2.foo; } Regards, --

[algogeeks] Counting

2011-08-17 Thread Luciano Junior
How many different ways are there to count how many streets have in a city, based on the city map? What algorithms can be used for response this question ? -- Luciano Soares Pinheiro Jr. Analista desenvolvedor Sr. -- You received this message because

[algogeeks] How better way to make a controller class ?

2011-06-13 Thread Luciano Junior
Your boss asks you to do a program that maintains the database of customers updated. You need to dotNet using MVC. For you, what may be the best way to create a control class to access and update data from customers? Luciano Pinheiro. -- You received this message because you are subscribed to

[algogeeks] Converting jpeg to bmp file

2011-03-30 Thread Luciano Junior
Hello, I'm trying create a program in a Free C++ compiler (CygWin) to load a Jpeg file and save to bmp, but I don't have the package or library correct. I'm using Code::Blocks pure c++. If anybody have some trick that help me, I thank You, very much. --

[algogeeks] Clock Algorithm

2011-03-04 Thread Luciano Junior
Hello, I need a clock algorithm to use with in a simulation system that I be creating. Someone have any Idea ? -- Luciano Soares Pinheiro Jr. Analista desenvolvedor Sr. -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] Re: The best multiply matrix algorithms ?

2010-12-14 Thread Luciano Junior
That's OK Mr. Rakib! :) But, how can a computer make faster this computation using parallel programming ? Can one real programming language's rotine make use this aproach giving to a sub-rotines concurrents tasks ? We make a change this question: what the computer's architecture that's make a

Re: [algogeeks] Re: The best multiply matrix algorithms ?

2010-12-09 Thread Luciano Junior
-multiplication code in one of the sets of the so-called Basic Linear Algebra Subprograms (BLAS). Check out http://www.netlib.org/blas/faq.html, and especially 5) therein: http://www.netlib.org/blas/faq.html#5. Dave On Dec 8, 6:09 am, Luciano Junior luciano@gmail.com wrote: What is best multiply

[algogeeks] The best multiply matrix algorithms ?

2010-12-08 Thread Luciano Junior
What is best multiply matrix algorithm for: -multiply a n x n matrix by another n x n matrix -multiply a m x n matrix by a n x p matrix I need a best performance cpu algorithm. Note: it can use a parallel programming concept. Thankfully. Luciano. --

Re: [algogeeks] The best multiply matrix algorithms ?

2010-12-08 Thread Luciano Junior
But Strassen's Matrix Multiplication Algorithm take a performance near O(n^2,7)! Is there some other algorithm that take less time ? 2010/12/8 Rakib Ansary Saikot ansaryfantas...@gmail.com: Try using Strassen's Matrix Multiplication Algorithm. Regards, Rakib On 12/8/10, Luciano Junior

[algogeeks] Memory paging

2010-11-08 Thread Luciano Junior
Given a memory array, how to implement the best paging algorithm ? Consider You need delivery pages to application using threads - one to each remote application. Pinheiro. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this

Re: [algogeeks] microsoft interview(numbers)

2010-07-08 Thread Luciano Junior
You only need to take a numeric array [0 .. 9], counting each number of input incrementing the array index. Then put in order this array, then print in reverse order. Luciano Pinheiro. 2010/7/6 Abhirup Ghosh abhiru...@gmail.com: We can build a wrapper object having two fields one th actual