class in C? #include<string.h> #include<iostream> using namespace std; template <typename T> struct MATRIX{ unsigned x,y; T *d; MATRIX<T>():x(0),y(0),d(NULL...
分類:電腦與網際網路 > 程式設計 2015年10月13日
what do you do ? , General big double or float matrix must use dimension reduce or build tree to process. You must learn machine learning curriculum...
分類:電腦與網際網路 > 程式設計 2015年03月23日
...tree to hard disk index( like B* tree ) 2. use PCA to reduce dimension , but It is linear method, coding program is easier...
分類:電腦與網際網路 > 程式設計 2014年12月05日
#include <stdio.h> #include <stdlib.h> int main(void){ int *p,k,i,j,x; if(!scanf("%d",&k) || !(p = (int*)malloc(k*sizeof(*p)))) return 1; for(i=k;i>0 && scanf("%d",&p[i%k]);--i); for(i=k;i>0;--i,printf("\n")) for(j=k,x=i;j>0;++x,--j) printf("%2d",p[x%k]); free(p),p...
分類:電腦與網際網路 > 程式設計 2014年10月20日
...另外,以我所知用notepad寫VB只會用到好簡單既VBScript根本做唔到 dimension 我唔知你D code點解咁神奇可以行到 PS:請唔好為左自尊而筆戰
分類:電腦與網際網路 > 程式設計 2014年04月09日
... RGB, and you maybe use every pixel to store in your 2 dimension memory or 3 channel memory. 2014-03-09 20:42:08 補充: attention 2thing: 1. Your...
分類:電腦與網際網路 > 程式設計 2014年03月11日
...(dtm); table.setPreferredScrollableViewportSize(new Dimension (250, 150)); return table; } private int parseAsInteger(JTextField...
分類:電腦與網際網路 > 程式設計 2014年01月06日
要反過來求解 假設 center = (w/2, h/2) = (x0, y0) = p0 given p' = (x,y) solve the unknown p |p'-p0| = R = r^n |p-p0| = r = R^ (1/n) p = p0 + (p'-p0) R^(-1+1/n) <= ans code: double x0 = width/2.0, y0 = height/2.0; double R = Math.pow( (x-x0)*(x...
分類:電腦與網際網路 > 程式設計 2013年11月12日
... subroutine Insertion_Sort(A) integer, intent(in out), dimension (:) :: A integer :: temp, i, j do i = 2, size(A) j = i - 1...
分類:電腦與網際網路 > 程式設計 2013年10月22日