原创 mac 獨立安裝 GCC 解決 缺失問題

在 mex 文件當中,如果引用 #include <omp.h> 在 mac 會出現這個錯誤,因爲 MAC 沒有使用 GCC 而  使用  clang fatal error: 'omp.h' file not found 1》 安裝

原创 matplot 簡單使用

設置 X,Y 軸變量 import matplotlib.pyplot as plt # 生成 0 1 2 3 4 5 x = range(6) # y = x 的平方 plt.plot(x,[xi**2 for xi in x]) p

原创 python array

數組的類型:                      from array import array b = array('l',[1,2,3,4,5]) print b.typecode # l 前面創建數組時聲明,返回它的類型 pr

原创 Linux 下載 sdk 慢問題解決

 修改代理:      vim /etc/hosts   //  打開網絡配置文件                     127.0.0.1  localhost                     203.208.46.146  

原创 matplotlib 安裝

  在官網下載       matplotlib-1.3.1.win32-py2.7.exe     numpy-1.8.1-win32-superpack-python2.7.exe    scipy-0.14.0rc1-win32-

原创 matlab 常用的函數理解

1》  cumsum 2》 文件的路徑:  cd(fileparts(mfilename('fullpath')))

原创 intelliJ 生成 javaDoc

1.導入下載的源代碼包:  把下載的代碼複製到工程目錄下: 2. IntelliJ 工具欄一個 tool 欄目:

原创 mac 獨立安裝 GCC 解決 <omp.h> 缺失問題

在 mex 文件當中,如果引用 #include <omp.h> 在 mac 會出現這個錯誤,因爲 MAC 沒有使用 GCC 而  使用  clang fatal error: 'omp.h' file not found 1》 安裝

原创 ios 常見錯誤

1》cannot assign to self outside a method in the init family 在初始化的方法中,必須以   initWith  開頭:

原创 深度學習相關的鏈接

1》 比較詳細的綜述鏈接小菜鳥:     http://blog.csdn.net/carson2005/article/details/17185309 2》深度學習創始人的網站:http://www.cs.toronto.edu/~h

原创 matlab struct 理解

1》保存數據到 mat 文件  2》 生成數據結構: 3》 操作屬性: 4》 加載 mat 文件 load name.mat  參考自:http://jingyan.baidu.com/article/414eccf612

原创 sublime text2 中文亂碼解決

1)使用安裝包管理工具,安裝-安裝包管理工具      https://sublime.wbond.net/installation#st2    // 官網介紹怎樣安裝 import urllib2,os,hashlib; h = '

原创 二叉樹的遍歷

二叉樹的前序遍歷: /** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * Tre

原创 opencv 基本操作-圖片大小的縮放

1》這個函數兩個參數:文件的名字,加載的方式(如果是正數表示使用 3 通道,如果是 0 單通道,如果是負數表示使用原來圖像的格式) cvLoadImage("fileName",int type); 簡單

原创 jstree 簡單使用

 引入 js  文件: <script type="text/javascript" src="test/jquery-1.9.1.min.js"></script> <script type="text/javascript" src=