由买买提看人间百态

topics

全部话题 - 话题: vectors
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
z*******o
发帖数: 1794
1
在单酶切,并且是vector不去磷酸化的情况下,多加PCR产物肯定没有问题。但这样的
条件谁也不会去做连接,vector自连的风险太高了,就算运气好进去了还有一个正反的
问题。如果是两个酶totally digested呢?原则上说vector将不会存在自我连接的风险
,同时这样的连接无论vector还是insert都是定向的高效连接。
C*******e
发帖数: 4348
2
去磷酸化的vector加sticky ends的insert没问题
其实去不去磷酸化什么的都无所谓
我大多数情况下都不去
如果ligation的时候出问题多半不是去不去磷酸化什么的
多半是片段重新准备啊,浓一点,干净一点
多试几个ratio
vector多放点
就差不多了
vector去磷酸化不过是让自己放心
trouble shooting的时候可以排除掉一个vector自连而已
i*****i
发帖数: 154
3
来自主题: Biology版 - 同时表达四个基因用的vector
老大要找的质粒应该是叫STEMCCA
Stem Cells. 2009 Mar;27(3):543-9.
Induced pluripotent stem cell generation using a single lentiviral stem cell
cassette.
Sommer CA, Stadtfeld M, Murphy GJ, Hochedlinger K, Kotton DN, Mostoslavsky G.
Abstract
Induced pluripotent stem (iPS) cells can be generated using retroviral
vectors expressing Oct4, Klf4, Sox2, and cMyc. Most prior studies have
required multiple retroviral vectors for reprogramming, resulting in high
numbers of genomic integrations in iPS cells and limiting... 阅读全帖
s*****t
发帖数: 107
4
各位大侠,小妹正在做Zhangfeng的LentiCrisper-V2 Vector,
已经按照ZhangFeng lab的Protocol把退火的Primer Pair连接到了
Lenti-Crisper-V2 Vector上。可是怎么知道我的Insert 连到vector上去了呢?
protocol说原载体上两个BsmB1之间有2Kb insert。 我现在把我连出来的Vector
作了个酶切,发现没有这个2kb insert了,但是怎么能排除原载体自连呢?
另外,我自己的insert连进去以后要不要考虑正反向的问题?
l*********s
发帖数: 5409
5
来自主题: Statistics版 - 新手问个R里vectorization的问题
generate a vector of the size n*m, and pass the vector index to your user
defined function f() to construct the data set.
(The rol,col index can be computed from the vector index parameter.)
Then cast the vector into a matrix.
l******9
发帖数: 579
6
Thanks,
But, in clustering, each data piont is a scalar (a number).
In my problem, each data piont is a vector that contains a group of numbers.
The distance between two vectors is a the linear correlation of teh two
vectors not two data points in the two vectors.
Example,
v1 = [1, 2, 3]
v2 = [4, 6, 8]
v3 = [10, 5, 9]
v1 and v2 has strong correlation than v1 and v3 or v2 and v3.
So,, v1 and v2 should be put in the same cluster but v3 cannot be.
Any help would be appreciated.
l******9
发帖数: 579
7
来自主题: Statistics版 - two vectors' coefficient of determination
I have a question about coefficient of determination.
I need to find the relationship of two vectors.
Given two numerical vectors x and y, their determination of coefficient can
be expressed as :
1 - ( 1 - (dot_product(x,y))^2 / (|x|^2 + |y|^2)) / (1 - |y| * |y|/ ( y
'dimension * |y|^2 ) )
|x|^2 = sum of squared of each element of vector x.
|y| = sum of each element of vector y.
Is that correct ?
I got the formula from some code but I do not know the authors.
How to understand i... 阅读全帖
m*p
发帖数: 1331
8
要求用vector实现shuffle a deck of Card,如下:
public class Card {
private int value;
Card(int v) {
value = v;
}

public void print(){
System.out.print(value+";");
}
}
public class DeckShuffle {

private final int num;
Vector deck = new Vector();
// implement this shuffle function. DO NOT USE Collections.shuffle() !!
public void shuffle(){
// your code goes here!
}

}
d****o
发帖数: 1055
9
先permute第一个vector,再permute第2个vector,最后再一个个得对应不行吗?
比如{2,1} 得到 {2,1} {1,2}, 第一个位置为0, 第二个位置为1
{4,3} 得到 {4,3} {3,4},第一个位置为0, 第二个位置为1
然后设为 有4种可能性 00, 01, 10 , 11 (0,1代表位置)
这样就可以实现了next_permutation
x*****o
发帖数: 28
10
来自主题: CS版 - java Class Vector
Hi.I just feel interesting on the underlying implmentation of the vector
class. Anyone knows some detail on these stuffs? Thanks! Appreciate!
For the vector, it is a growable array,
1. it can support dynamic insert and delete
2. it can be accessed by index
So I just wonder how they implement it?
(Just my guess) the vector is still actually an contiguous array, and when
insert and delete, just create a new modified copy of the array.?
I am interested in this, because my code is based on the vecto
F****n
发帖数: 3271
11
来自主题: Java版 - List, LinkedList and Vector
List is a general interface implemented by LinkedList, ArrayList, and Vector.
LinkedList is fast to insert and delete, while ArrayList is fast to access
through index. Evaluate your the major future burden on your List before
choose between the two. Vector is not java1.1 stuff, and it implements List
for back compatibility reason. Java2 programming should avoid Vector as much
as possible. If you want a synchronized List, use
Collections.sychronizedList(List) to pack one.
e****y
发帖数: 26
12
来自主题: Java版 - Array of vector, help
I use JBuilder8
I wanna declare a array of vector, so i use:
Vector[] tables = new Vector[20];
It seems okay now. But when i try to use like
tables[1]
JBuilder will send error information.
What's wrong? I am not good at java.
Thanks.
c*****t
发帖数: 1879
13
来自主题: Java版 - VECTOR一问
Well, in Java, all objects are pointers. So you are adding
the pointer to the same vector to Stree. Of course you will
get the same result because you get the same vector pointer.
In C++ vector, it always make a copy of what you pass, in
this case, the reference of the Svec. The result of course
would be different.
g*****g
发帖数: 34805
14
来自主题: Java版 - 问一道关于Vector的题
想想可能还是把符合条件的放到一个temp vector里,
然后让original vector指向temp vector最快。
removeAll还是扫了两次。
c*****t
发帖数: 1879
15
来自主题: Java版 - 问一道关于Vector的题
其实,一次 remove 多个的话,array / vector 还是能达到 O (n) 。
就是将保留的先放到另外的 array 里,最后再弄回来。linkedlist
占的 memory 多,而且从一个 node 走到下一个也慢些。iterator
又会增加点 overhead (主要是 Java。C++ 都是 inline)。所以总
的来说,vector / array 并不慢。
至于自动 shrink,一般没有哪个 implementation 会这样。因为这
属于 predicting behavior。写该 container 的神奇的知道
pop_backup N 次以后不会又 push_back N 次?这纯粹属于没事找事。
array / vector 最大的问题主要是在 insertion 。
c*****t
发帖数: 1879
16
来自主题: Java版 - 问一道关于Vector的题
LinkedList 寻找也需要 O (n)。而且通过 iterator 走到下一个 node 有
很多的 overhead 。教科书上的 O (1) deletion 是指你已经找到该 node
的情况下。相比之下 vector / array 里一个个的走不需要 iterator,
直接上 index,可以快很多。而且 vector / array 占的 memory 少,写
code 也不需要很多判断或者 call function。
所以综合来讲,如果 insert 较少,即使有需要多项 object 的 remove,
array / vector 还是比 linkedlist 强很多,不管是 performance 还是
easy to code 。
n******6
发帖数: 1829
17
【 以下文字转载自 JobHunting 讨论区 】
发信人: newegg06 (egg), 信区: JobHunting
标 题: 【求助】为什么类里面不能初始化vector的大小?
发信站: BBS 未名空间站 (Tue Mar 20 15:04:39 2007)
比方说
#include
using namespace std;
class test{
char str[10];\\this is OK
vector a1(10);\\not OK
}
报错error C2059: syntax error : 'constant'
请问这是怎么回事?
谢谢!
l**a
发帖数: 423
18
来自主题: Programming版 - C++ vector
我觉得是vector创建了独立的copy,所以当程序退出时候 C1,C2,C3 destructor
called. 但是vector 面也有3个copy.
可以做个测试,你写个constructor。如果同样多出3个constructor 那么就证明是
vector 创建了独立的copy
G********7
发帖数: 256
19
来自主题: Programming版 - 包含指针的类和vector的问题
我有一个类,里面包含一个指针,大致如下
class A
{
int a;
int* buf;
A(){a=0;buf=0}; // default constructor
A(const A& in){ // copy constructor
a=in.a;
buf=new int[a];
memcpy(buf,in.buf,sizeof(int)*a);
};

~A(){ if(buf!=0) delete[] buf;}; // destructor
};
程序里面定义了一个vector vec,然后我试图向里面insert一个object,如下
vector
vec;
vec.insert(vec.begin(),obj_A); // obj_A is an object of class A
这时候就出问题了。我debug的时候发现,vector的insert函数是先给obj_A复制一个
copy,叫做obj_A_copy,然后把obj_A_copy赋值给vec[0]。当退出insert函数时,
obj_
b***y
发帖数: 2799
20
☆─────────────────────────────────────☆
dArtagnan (达达尼昂) 于 (Mon Jul 21 17:01:32 2008) 提到:
关于vector存储value copy的一个问题,
假设有一个class Vehicle,有几个derived classes
class Sedan : public Vehicle
class SUV : public Vehicle
class Van : public Vehicle
这些derived class里面都有定义自己新的field,就是说他们的size都比vehicle大。
那么如果把一些derivd class的实例
Sedan bmw325();
SUV bmvX5();
Van sienna
存到如下vector 当中
vector
会发生什么结果呢? 这些子类里面多出来的field会损失掉?还是存到哪里去呢?
☆─────────────────────────────────────☆
thrust (WoW 无限期冬眠中) 于 (Mon
c**m
发帖数: 30
21
来自主题: Programming版 - vector::iterator不对
because you are defining a template so vector can't be defined until you
instantiate the template, but before vector can be defined the template
has to be defined first. chicken and egg problem. Anyway, the effect is
when the compiler is trying define the template it has no way of figuring
out what vector::iterator is. If you think about it you would see why.
The solution is, of course, you explicitly tell the compiler what it is: a
typename. like below:
template
void f
z****e
发帖数: 2024
22
#include
#include
ifstream inf("your_file_wants_to_be_read.txt");//source file
vector vs((istream_iterator(inf)),
istream_iterator());//read into string vector
for the second sentence, pay attention, do not be fooled by the "most vexing
parse of C++",
else you will only define a function rather than a vector.
s*****g
发帖数: 5159
23
来自主题: Programming版 - [请教]iterator and reference in C++ vector
The operator [] of a vector returns the reference to an element of the vecto
r
member function .end() returns an iterator of the last element of the vector
.
I want to judge if a particular element is the last element of the vector, b
ut I cannot do the following
s*****g
发帖数: 5159
24
来自主题: Programming版 - vector析构的时候怎么办?
前来天请教过vector,当时记得有人说vector不用初始化也不用析构。我现在出现内存
占用比想象的大很多,所以请教一下具体情况。
class A{
private:
vector val;
public:
A();
AddValue(int m){
val.push_back(m);
};
~A(){};
}
调用:
A a;
for(long i = 0; i<1000000000; i++)
a.AddValue(10);
r******9
发帖数: 129
25
来自主题: Programming版 - C++ vector 一边遍历一边删
用iterator遍历一个vector
然后当某个元素符合某种条件时,删掉这个元素
我一直想这么干
vector ::iterator iter = vec.begin();
while(iter != vec.end())
{
if(test(iter->content) == true)
{
vec.erase(iter);
}
++iter;
}
但是这样肯定不行,好像不能再循环体内改变vector
我现在的解决办法就是吧要删的元素的index记下来,然后再对这个index做循环,逐个
删。
高手们有没有好的办法啊?
谢谢啦
r********3
发帖数: 2998
26
来自主题: Programming版 - C++ vector 一边遍历一边删
如果在Java里面,我都是重新创建一个新的vector。在Java里面,删除一个元素总是要
移动后面,效率还不如重新创建一个新的vector,然后销毁原来整个vector。
h****a
发帖数: 70
27
来自主题: Programming版 - 自己实现vector (转载)
【 以下文字转载自 JobHunting 讨论区 】
发信人: himdca (how are you doing?), 信区: JobHunting
标 题: 自己实现vector
发信站: BBS 未名空间站 (Mon May 23 19:07:17 2011, 美东)
请问有什么好的自己写的vector的code examples吗?我看
有的面经里提到被要求写一个vector class。
谢谢
l********a
发帖数: 1154
28
来自主题: Programming版 - vector的析构问题

children在this中是一个vector
有参构造函数中是.push_back(new A(this,n))这种形式添加到this->children的
每一个child都是A *保存在这个vector中,
就看做是html的tag吧,


<br /> </head><br /> <body>...</body><br /> </html><br /> 那html这个tag的parent=0,children.size()==2<br /> html.children[0] = &head (由于是递归初始化,添加的时候能得到head的地址)<br /> html.children[1] = &body<br /> head这个tag的parent = &html,children.size()==1<br /> head.children[0] = title<br /> title和body的children.size()==0,是个空vector<br /> parent分别是 &head 和 &html</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">j*****g<br />发帖数: 16</td><td width=80% class="zt-bg2"><div id="post29" style="position:relative"><div class="zt-counter">29</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Programming版</span> - <a href="/zhuti/Programming/31220863/#post12" style="font-size:1.1em">vector<T *>的析构问题</a></div><span>摸黑写了一下,可是编译(g++ A.cpp)出错, 就是this->children->parent<br /> A.cpp:20: error: base operand of ‘->’ has non-pointer type ‘std::vector<A<br /> *, std::allocator<A*> >’<br /> A.cpp<br /> //******************************<br /> 1 #include <vector><br /> 2 class A<br /> 3 {<br /> 4 public:<br /> 5 int num;<br /> 6 A *parent;<br /> 7 std::vector<A *> children;<br /> 8 public:<br /> 9 A(){<br /> 10 this->num=3;<br /> 11 this->parent=0;<br /> 12 for (int i=0;i<this->num;++i)<br /> 13 {<br /> 14 this->children.push_back(new A(this,this->num));<br /> 15 }<br /> 16 }<br /> 17 A(A *... <a href="/zhuti/Programming/31220863/#post12">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">n********r<br />发帖数: 719</td><td width=80% class="zt-bg"><div id="post30" style="position:relative"><div class="zt-counter">30</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Programming版</span> - <a href="/zhuti/Programming/31279787/#post3" style="font-size:1.1em">遇到一个非常诡异的bug, vector of vector</a></div><span>这不对吧<br /> 之前vector<double> vec(M)的时候已经把vec初始化为一个有M个0的vector了<br /> 这里如果用push_back,那相当于在M个0后面又放了M个元素,size变2M了</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">b***i<br />发帖数: 3043</td><td width=80% class="zt-bg2"><div id="post31" style="position:relative"><div class="zt-counter">31</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Programming版</span> - <a href="/zhuti/Programming/31514297/#post5" style="font-size:1.1em">老年工程师关于std::vector的几个问题</a></div><span>看来是copy,因为move需要std::move<br /> 那么,如果这个类的成员变量是vector<Pole*> poles的话,poleManager本身是另一个<br /> 类生成的singleton实例的指针,那么它的内容应该在堆上,这样的话整个过程从<br /> PoleAcess::Load那里是在栈上生成一个vector,最后需要move到堆上吗?当然如果移<br /> 动,也不是很大数据量,因为只是这个vector自己的数据,而不是整个内容。<br /> RVO能否知道本来为了要放到堆上而优化?</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">b***i<br />发帖数: 3043</td><td width=80% class="zt-bg"><div id="post32" style="position:relative"><div class="zt-counter">32</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Programming版</span> - <a href="/zhuti/Programming/31514297/#post7" style="font-size:1.1em">老年工程师关于std::vector的几个问题</a></div><span>好像从函数内的栈上临时变量返回然后生成堆上的也是可以RVO的,所以声明vector的<br /> 指针完全没有必要。<br /> 但是vector内部存指针好像有必要。毕竟这个vector上存的类可能有继承关系,虚函数<br /> 什么的。<br /> <br /> -c<br /> heap</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">M****m<br />发帖数: 2142</td><td width=80% class="zt-bg2"><div id="post33" style="position:relative"><div class="zt-counter">33</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Biology版</span> - <a href="/zhuti/Biology/31412261/#post1" style="font-size:1.1em">该如何分开与insert大小相近的vector呢?</a></div><span>酶切后我的gene 是3.3 vector是 3.4,该怎么跑胶才能把他俩分开我好回收我的片断<br /> ?我用的PcR-XL-TOPO,vector其他区域有没有可以被酶切的这样vector size变小就可<br /> 以回收我的片断了?或者跑0.5%的DNA gel跑远些 可行吗?</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">h******y<br />发帖数: 1374</td><td width=80% class="zt-bg"><div id="post34" style="position:relative"><div class="zt-counter">34</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Biology版</span> - <a href="/zhuti/Biology/31417045/#post1" style="font-size:1.1em">请问pEYFP-C1 Vector和pcDNA5/FRT/TO vector的问题</a></div><span>Clonetech的pEYFP-C1 Vector和Invitrogen的pcDNA5/FRT/TO vector<br /> 能不能转染293T cells来做lentivirus?谢谢!</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">A****Z<br />发帖数: 52</td><td width=80% class="zt-bg2"><div id="post35" style="position:relative"><div class="zt-counter">35</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Biology版</span> - <a href="/zhuti/Biology/31519033/#post4" style="font-size:1.1em">induceable lentiviral vector</a></div><span>Clontech has 3rd generation of tet-on inducible expression system but this<br /> new system has only the general expression plasmids but no lentiviral<br /> vector. Only the 2nd generation has inducible lentiviral vector but the 2nd<br /> generation may not work as well as 3rd generation. My cells are difficult to<br /> transfect, so I need the lentiviral vector to delivery the target gene to<br /> cells. Does anybody has good Lentiviral Inducible Expression Systems? <br /> Thanks.</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">s******y<br />发帖数: 28562</td><td width=80% class="zt-bg"><div id="post36" style="position:relative"><div class="zt-counter">36</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Biology版</span> - <a href="/zhuti/Biology/31541517/#post17" style="font-size:1.1em">关于做ligation时insert/vector的ratio的疑问</a></div><span>在我的理解中,多加PCR产物肯定是不会错的,因为多加了PCR产物,坏处最多就是<br /> 他们自己连接起来,但是反正他们不能在细菌里面扩增,奈何不了你。<br /> 但是多加了vector, 就会增加vector 自己链接的风险,增加产物的伪阳性比例<br /> 另外一点大家说得非常对,就是必须把insert磷酸化, vector去磷酸化</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">z*t<br />发帖数: 863</td><td width=80% class="zt-bg2"><div id="post37" style="position:relative"><div class="zt-counter">37</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Biology版</span> - <a href="/zhuti/Biology/31541517/#post21" style="font-size:1.1em">关于做ligation时insert/vector的ratio的疑问</a></div><span>单酶切条件下insert磷酸化+vector去磷酸化能把自连降到多少?<br /> 现在想把一个cDNA subclone into another vector,但目的vector只有两个酶BamHI和<br /> MluI可以切,并且BamHI还会在cDNA内部有一个切点。。。除了单酶切,我还有什么办<br /> 法么?</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">r***e<br />发帖数: 2539</td><td width=80% class="zt-bg"><div id="post38" style="position:relative"><div class="zt-counter">38</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Biology版</span> - <a href="/zhuti/Biology/31649961/#post4" style="font-size:1.1em">Can retroviral vector be used for lentiviral packaging and infection?</a></div><span>不行。<br /> 另外包装lenti也要注意,尽量用第三代的。<br /> 切记不能把不同generation的vector和pkg mix混用,<br /> 有的公司为了规避patent,还在出售第二代的vector,比如说Openbiosystem有名的pLK<br /> O shRNA vector,和Thermo的部分产品。<br /> 以前有实验室出过事故,包装出不安全的病毒。</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">s******y<br />发帖数: 28562</td><td width=80% class="zt-bg2"><div id="post39" style="position:relative"><div class="zt-counter">39</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Biology版</span> - <a href="/zhuti/Biology/31649961/#post7" style="font-size:1.1em">Can retroviral vector be used for lentiviral packaging and infection?</a></div><span>Retroviral vector 只感染那些分裂中的细胞,对于不分裂或者不怎么分裂<br /> 的细胞(比方说原代细胞)不太好使。我有很多做在retroviral vector 里面<br /> 的蛋白,如果要一一转移到lentiviral vector 里挺花时间的。<br /> 不过听大伙的说法,这个貌似是没有办法的。。。<br /> <br /> 粒。</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">d**********t<br />发帖数: 20415</td><td width=80% class="zt-bg"><div id="post40" style="position:relative"><div class="zt-counter">40</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Biology版</span> - <a href="/zhuti/Biology/31695971/#post3" style="font-size:1.1em">有啥好用的lentivirus vector推荐吗?</a></div><span>多谢回复~<br /> 这个蛋白的表达没有问题,我们用 transient expression和现有的lentivirus都表达<br /> 过,只是现有的lentivirus vector没有selection marker,没法筛稳定表达克隆,所以<br /> 想找一个带select marker的vector<br /> 请问你用的是哪个vector和package system?<br /> <br /> colony</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">j****x<br />发帖数: 1704</td><td width=80% class="zt-bg2"><div id="post41" style="position:relative"><div class="zt-counter">41</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Biology版</span> - <a href="/zhuti/Biology/31963697/#post1" style="font-size:1.1em">求教Clontech家的Lentiviral vector system</a></div><span>之前没留意过,近期突然发现,Clontech家的所有Lentiviral vector系统,包括其经<br /> 典的Tet-on/off/one lentivector,尽管宣传是最安全的第四代载体系统,但其中的<br /> HIV-1 5'/3' LTR居然都是wildtype的而并非是被几乎所有其他商用载体所一致采用的<br /> truncated/∆U3 LTR,作为self-inactivating (SIN) vector。这是件很奇怪的<br /> 事情,有哪位对Lentiviral vector比较熟悉的能讲讲吗?谢谢</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">j****x<br />发帖数: 943</td><td width=80% class="zt-bg"><div id="post42" style="position:relative"><div class="zt-counter">42</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Engineering版</span> - <a href="/zhuti/Engineering/31117169/#post2" style="font-size:1.1em">请问向量势怎么求???Vector Potential???</a></div><span>Let me ask this first, what is F. Is k a vector? I suppose the curl of a<br /> vector is a vector. then what is M(x,y)k</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">f*****s<br />发帖数: 141</td><td width=80% class="zt-bg2"><div id="post43" style="position:relative"><div class="zt-counter">43</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Quant版</span> - <a href="/zhuti/Quant/31253961/#post1" style="font-size:1.1em">memory allocation about vector</a></div><span>Two ways of holding 2-dimensional array:<br /> (1) vector of vector<br /> (2) Just use one vector<br /> Which is more disadvantageous in terms of memory allocation? such as<br /> fregmentation issue?</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">g**r<br />发帖数: 425</td><td width=80% class="zt-bg"><div id="post44" style="position:relative"><div class="zt-counter">44</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Statistics版</span> - <a href="/zhuti/Statistics/31184293/#post1" style="font-size:1.1em">Vectorization question</a></div><span>Can code like the following vectorized?<br /> I already have ct, a vector, say length 10.<br /> and s, a vector, same length. Want to recalculate ct; but it will be a<br /> function of previous ct & current position. Like the folllowing<br /> (n=10)<br /> for (i in 1:n)<br /> {less=0;<br /> for (j in 2:i-1)<br /> {<br /> {morea=s[i]-s[j]<br /> moreb=i-j<br /> less=choose(morea,moreb)*ct[j]+less;<br /> }<br /> ct[i]=i-less<br /> }<br /> }</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">x***I<br />发帖数: 91</td><td width=80% class="zt-bg2"><div id="post45" style="position:relative"><div class="zt-counter">45</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">Statistics版</span> - <a href="/zhuti/Statistics/31261961/#post1" style="font-size:1.1em">如何用R给一个vector画heatmap</a></div><span>有一个vector, 每个值代表那个点的强度,<br /> 不知道有没有什么办法,可以画出这个vector的heatmap.<br /> 不需要排序,只要显示颜色就好了,所有值都大于0.<br /> heatmap只能画matrix,我把我的的vector,重复了一下,变成2*n的matrix,<br /> 可以画出来,不过很丑。。。。。一个大方块,不知道有没有什么办法可以<br /> 画出像scale bar那种长条的东西。另外,画出来的没有绿色,<br /> 不知道有什么办法让绿色也出来么,自己手动减去一个值?<br /> 希望高人给指条明路,<br /> 谢谢</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">s****h<br />发帖数: 3979</td><td width=80% class="zt-bg"><div id="post46" style="position:relative"><div class="zt-counter">46</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">DataSciences版</span> - <a href="/zhuti/DataSciences/12779/#post1" style="font-size:1.1em">请教问题 R list of list to vector to data frame</a></div><span>R新手,有几个问题,一起请教一下:<br /> 我想建一个data frame,有7个columns.<br /> 因为数据量相对R来说比较大(0.5M users, each with 50 items),用个loop,一次做<br /> 500个users<br /> allres <- list()<br /> for i{<br /> create df<br /> allres[i] <- df<br /> }<br /> For each user,take first 50 items. (自己瞎弄的一个推荐系统,和classic user<br /> based, item based有些不一样)<br /> df has 50 X 1000 rows, and 7 variable (v1 - v7)<br /> 我打算每个variable弄一个vector,然后combine成df<br /> 可是有些variable我只会弄成list。例如,我是这么create 50 X 1000个double<br /> variable for v2的:<br /> v2 <- lapply(1:tmpTestIn@data@data@Dim[2], FUN=function(i) { c(ratings2@data<br /> [i, preNew... <a href="/zhuti/DataSciences/12779/#post1">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">c*********r<br />发帖数: 19468</td><td width=80% class="zt-bg2"><div id="post47" style="position:relative"><div class="zt-counter">47</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">_Auto_Fans版</span> - <a href="/zhuti/_Auto_Fans/31612729/#post1" style="font-size:1.1em">刚注意到BorgWarner新的torque vectoring方案</a></div><span>感觉有点意思:<br /> <a href="https://www.borgwarner.com/docs/default-source/default-document-library/2016" rel="nofollow">https://www.borgwarner.com/docs/default-source/default-document-library/2016</a><br /> _whitepaper_compact-torque-vectoring-opens-up-new-possibilities_en.pdf<br /> torque vectoring的实现原理和大多数基于行星齿轮的系统类似,但packaging是全新<br /> 的方案(优点pdf中讲了)<br /> 这个系统内建的转速差大约10%,工作范围比SH-AWD、Twinster等基于双耦合器的系统<br /> 宽得多<br /> 而且直行时后轴即便发挥动力也不会因为torque vectoring系统的内建转速差带来多大<br /> 的额外能耗<br /> 估计用Haldex的性能车到下代会普及这玩意吧?</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">c*********r<br />发帖数: 19468</td><td width=80% class="zt-bg"><div id="post48" style="position:relative"><div class="zt-counter">48</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">_Auto_Fans版</span> - <a href="/zhuti/_Auto_Fans/31612729/#post3" style="font-size:1.1em">刚注意到BorgWarner新的torque vectoring方案</a></div><span>这是硬件torque vectoring,如果你指的是电控,现实的torque vectoring系统都是电<br /> 控的<br /> torque vectoring的好处主要是能提高弯道性能,尤其对本身understeer比较明显的车<br /> ,弯道性能能提高10%以上</span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">l*********2<br />发帖数: 5575</td><td width=80% class="zt-bg2"><div id="post49" style="position:relative"><div class="zt-counter">49</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">FleaMarket版</span> - <a href="/zhuti/FleaMarket/33052719/#post1" style="font-size:1.1em">[星哥求购]Beltronics Vector 995 Platinum Radar Detector@96</a></div><span>想要的物品:<br /> Beltronics® Vector 995 Platinum Radar Detector<br /> 可接受的价格(必须明码标价!):<br /> $96 each<br /> 物品新旧要求:<br /> brand new<br /> 必须是全新的,不能display<br /> RS经常把display当新的卖,请检查清楚<br /> email to:y*******k@gmail.com<br /> 主题必须是:<br /> mitID + Beltronics Vector 995 Platinum Radar Detector@96<br /> 格式:<br /> BBSID: xxxxx,<br /> 数量,<br /> Zipcode: xxxxx<br /> 金额:<br /> 收款方式:bill pay/check<br /> 电话号码:<br /> 邮寄方式要求:<br /> ML<br /> 买卖双方谁承担邮寄损失(Required if not code only):<br /> before u, after me<br /> 付款方式说明:<br /> BILLPAY<br /> 其他补充说明:<br /> 广告的有效期:<br /> 物品来源:<br /> radio shack<br /> 我的联系方式:<br /> g************s@gmail.com<br /> 二手交易风险自负!请自行验证是否合法和一... <a href="/zhuti/FleaMarket/33052719/#post1">阅读全帖</a></span></div></td></tr></table></td> </tr> <tr> <td><table style="margin-top:0"><tr><td class="zt-author">z****o<br />发帖数: 78</td><td width=80% class="zt-bg"><div id="post50" style="position:relative"><div class="zt-counter">50</div><div style="margin-bottom:20px;font-size:1.1em"><span style="font-weight:bold">来自主题: </span><span class="board">JobHunting版</span> - <a href="/zhuti/JobHunting/31806601/#post6" style="font-size:1.1em">java: use vector<Card> to shuffle a deck of Card 问题</a></div><span> Vector v = new Vector();<br /> v.add("1");<br /> v.add("2");<br /> v.add("3");<br /> v.add("4");<br /> v.add("5");<br /> Collections.swap(v,0,4);<br /> 这种不行吗?</span></div></td></tr></table></td> </tr> </tbody></table></div> </div> <div id="pager" style="margin-top:25px"> <div><table class="searchpages" style="float: right"><tbody><tr> <td><a href="/huati/vectors/">首页</a></td> <td><a href="/huati/vectors/">上页</a></td> <td><a href="/huati/vectors/">1</a></td> <td>2</td> <td><a href="/huati/vectors/3">3</a></td> <td><a href="/huati/vectors/4">4</a></td> <td><a href="/huati/vectors/5">5</a></td> <td><a href="/huati/vectors/6">6</a></td> <td><a href="/huati/vectors/7">7</a></td> <td><a href="/huati/vectors/8">8</a></td> <td><a href="/huati/vectors/9">9</a></td> <td><a href="/huati/vectors/10">10</a></td> <td><a href="/huati/vectors/3">下页</a></td> <td><a href="/huati/vectors/10">末页</a></td> <td>(共10页)</td> </tr> </tbody></table></div> </div> </div> <span class="anchor" id="line-3"></span><span class="anchor" id="bottom"></span></div><div id="pagebottom"></div></div><div class="sidebar"><div dir="ltr" id="SideBar.sidebar" lang="zh"><span class="anchor" id="SideBar.top"></span> <span class="anchor" id="SideBar.line-1"></span><span class="anchor" id="SideBar.line-2"></span><p class="line867"><div id="rankings"><h3>未名新帖统计<span>// 7月16日</span></h3><div><table width=100%><tr><th width=10% align=left>#</th><th width=50% align=left>版面</th><th width=40% align=left>帖数(主题数)</th></tr><tr><td>-</td><td>全站</td><td>4871 (796)</td></tr><tr><td>1</td><td><a title="军事天地" href="/board/Military/">Military</a></td><td>3777 (569)</td></tr><tr><td>2</td><td><a title="股海弄潮" href="/board/Stock/">Stock</a></td><td>341 (51)</td></tr><tr><td>3</td><td><a title="肚皮舞运动" href="/board/Joke/">Joke</a></td><td>117 (17)</td></tr><tr><td>4</td><td><a title="史海钩沉" href="/board/History/">History</a></td><td>116 (3)</td></tr><tr><td>5</td><td><a title="车轮上的传奇" href="/board/Automobile/">Automobile</a></td><td>100 (9)</td></tr><tr><td>6</td><td><a title="美国新闻" href="/board/USANews/">USANews</a></td><td>55 (9)</td></tr><tr><td>7</td><td><a title="人到中年" href="/board/Midlife/">Midlife</a></td><td>45 (1)</td></tr><tr><td>8</td><td><a title="焦点新闻" href="/board/Headline/">Headline</a></td><td>41 (41)</td></tr><tr><td>9</td><td><a title="梦里花落知多少" href="/board/Dreamer/">Dreamer</a></td><td>33 (13)</td></tr><tr><td>10</td><td><a title="二手市场" href="/board/FleaMarket/">FleaMarket</a></td><td>32 (20)</td></tr><tr><td>11</td><td><a title="家居生活" href="/board/Living/">Living</a></td><td>30 (7)</td></tr></table><p>* 这里只显示发帖超过25的版面,努力灌水吧:-)</p></div></div> <span class="anchor" id="SideBar.line-3"></span><div id="matched_content" style="margin: 5px 2px 5px 2px"></div> <span class="anchor" id="SideBar.line-4"></span> <h3 id="SideBar.A.2BU4ZT8k4KdoROylkp-">历史上的今天</h3> <span class="anchor" id="SideBar.line-5"></span><p class="line867"><div class="BlikiSummary" style="margin-bottom:1.2em;margin-left:0.5em"><ol><li><a href="/zhuti/ChineseClassics/31268413/">faintcat妹妹看进来~~</a> 发表于12年前.</li><li><a href="/zhuti/EB23/31380293/">NSC, PD 1/7/2007, EB2, ...</a> 发表于11年前.</li><li><a href="/zhuti/FleaMarket/35696181/">[FBA求购]MJVE2 758 MJVM2 ...</a> 发表于6年前.</li><li><a href="/zhuti/Parenting/31948559/">老生常谈,归与不归</a> 发表于10年前.</li><li><a href="/zhuti/board/31486231/">【申请】Seattle西雅图 版版主——申请人...</a> 发表于9年前.</li><li><a href="/zhuti/NextGeneration/36332471/">宝宝出生,头骨骨折,求祝福</a> 发表于9年前.</li><li><a href="/zhuti/ClassicalMusic/31210935/">求推荐舒缓优美的古典音乐</a> 发表于11年前.</li><li><a href="/zhuti/PhotoGear/34338217/">百分之一的北京人上北大 中国网友愤怒(转载)</a> 发表于10年前.</li><li><a href="/zhuti/pets/31825797/">新人带狗狗Bailey来报道</a> 发表于12年前.</li><li><a href="/zhuti/Football/31468183/">全世界最有价值的运动队</a> 发表于10年前.</li><li><a href="/zhuti/Automobile/35426999/">请问大切诺基的质量如何</a> 发表于6年前.</li><li><a href="/zhuti/_RuS/23459405/">TNND,军版全是BKC</a> 发表于15年前.</li><li><a href="/zhuti/_LoTaYu/31206385/">Inception</a> 发表于12年前.</li><li><a href="/zhuti/Seattle/32526849/">微软的有些家属可真恶心,为了卖保险脸都不要了</a> 发表于10年前.</li><li><a href="/zhuti/Military/39967953/">每周坐高铁的苦逼来说说感受吧!!</a> 发表于9年前.</li></ol></div> <span class="anchor" id="SideBar.line-6"></span> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2229050667028251" crossorigin="anonymous"></script> <!-- SidebarW1 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-2229050667028251" data-ad-slot="2711874079" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <span class="anchor" id="SideBar.line-7"></span><span class="anchor" id="SideBar.bottom"></span></div><div id="sidebar-end"></div></div></div><div class="footer"><span class="license">除非另有声明,本站内容采用Creative Commons BY-NC-SA 3.0协议进行许可,转载请注明来自<a href="/">未名观察</a> - <a href="/PrivacyPolicy">隐私政策</a></span><span class="time" lang="zh" dir="ltr">2017-12-02 11:50:45由<span title="admin"><a href="/admin" title="admin">admin</a></span>编辑</span> </div> <script> var _gaq=[['_setAccount','UA-18482428-3'],['_trackPageview'],['_trackPageLoadTime']]; (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; s.parentNode.insertBefore(g,s)}(document,'script')); </script> <script type="text/javascript" src="http://s.skimresources.com/js/27394X857871.skimlinks.js"></script> </body> </html>